Giter VIP home page Giter VIP logo

gator's Introduction

🧭 Elijah Luckey (he/his)

Hi there πŸ‘‹

  • πŸ’Έ Currently working on a self-hosted budgeting tool (ask me about it!)
  • 🌱 Creating with Dart & Flutter.
  • πŸ•ΈοΈ Creating with Nx & Angular.
  • ⚑ Love music, films, and cooking.

Luckey-Elijah's Detail card

gator's People

Contributors

luckey-elijah avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gator's Issues

Feat: Add output to configuration

As a developer I want to specify the output of the generated file in the configuration. So

gator -c colors.yaml -o example/my_colors.dart

Turns into

gator:
  output: example/my_colors.dart
  class: MyColors
  colors:
    royalBlue: '0xff062091'
    grey: '#d6d6d6'
    rebeccaPurple: '663399'

Feat: Add CI/CD for running tests

As a developer, when creating a pull request, I want all tests to run to ensure I have not "broken" anything that I did not anticipate.

Add option to mark colors as `primary`, `secondary`, etc

I want to mark a color with an alias

gator:
  class: ExampleColors
  output: lib/src/colors.g.dart
  colors:
    Pale Spring Bud: 
      hex: 'dce2aa'
      alias: primary
  /// Primary App Color:
  /// **Pale Spring Bud**
  static const MaterialColor primary = paleSpringBud;

  static const _paleSpringBudPrimaryValue = 0xffdce2aa;

  /// **Pale Spring Bud**
  /// {@macro gator_header}
  static const paleSpringBud = MaterialColor(
    _paleSpringBudPrimaryValue,
    <int, Color>{
      050: Color(0xffeaeecc),
      100: Color(0xffe7ebc4),
      200: Color(0xffe3e8bb),
      300: Color(0xffe0e5b3),
      400: Color(0xffdce2aa),
      500: Color(_paleSpringBudPrimaryValue),
      600: Color(0xffc6cb99),
      700: Color(0xffb0b588),
      800: Color(0xff9a9e77),
      900: Color(0xff848866),
    },
  );

Feat: Add better error messaging/handling

As a user I would like to know why the gator executable is not working for any of the conditions:

  • no input YAML document found, for example: pubspec.yaml, some/path/config_colors.yaml, etc.
  • cannot write to the output given
  • a configuration is incorrect
  • If a file already exists, prompt for overwrite

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.