Giter Site home page Giter Site logo

helpis_cli's Introduction

Helpis CLI

This CLI provides various commands to help with Dart/Flutter development.

Commands

helpis

The helpis command provides an interface for the other commands. Running helpis will display usage information for the available commands.

create

The create command creates a new Dart project with a predefined structure. Some of the options include:

  • -n or --name: The name of the project. This option is mandatory.
  • -D or --description: The project's description.
  • -a or --author: The name of the code owner.

For example, to create a project named MyProject, run:

helpis create -n MyProject -a user1 -D "My first Dart package."

createStore

The createStore command creates a caching service using SharedPreferences. It has the following options:

  • -n or --name: The name of the project. Default is App. Used in field naming/prefixing.
  • -u or --unedited: Use this flag to use the app's name unedited.
  • -p or --part: Adds a part of directive.
  • -t or --target: The path to generate the dart file. Default is lib/src/service/cache .
  • -i or --imports: Additional imports.
  • -k or --keys: Cache keys and optional default values. Format is key1-default1,key2,key3-default3.

For example, to create a StorageApp with keys isDarkMode and locale-en_us and an import of package:flutter/material.dart, run:

helpis createStore -i package:flutter/material.dart -k isDarkMode,locale-en_us -n StorageApp

colorgen

The colorgen command creates aliases and theming features for FlexColorScheme colors from an XML asset file. See the command description for details on the XML format.

For example, with an assets/colors.xml file, run:

helpis colorgen -t assets/colors.xml

This will generate a lib/src/gen/theme/colors.helpis.dart file with the color aliases.

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.