Code Monkey home page Code Monkey logo

kanza-cli's Introduction

Kanza_cli is a simple command line tool to generate folder and file structure for your Flutter apps.

To use it, you should do the followings:

1. Firstly, you should activate dart cli to run it globally:
dart pub global activate kanza_cli

After successful activation, you can use it.

2. Ensure that, you are in the your Flutter project directory, because it will generate folders and files in the lib folder. Then write a simple command yo generate:
kanza_cli create

And it will generate the following structure:

structure

kanza-cli's People

Contributors

thisisyusub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kanza-cli's Issues

Proposal: supporting multiple structures

Description:

The cli currently creates project using predefined / hardcoded structure. I think it could be expanded even more to support creating projects using multiple templates.

The templates could be stored and retrieved from git source and you'll just need to clone the template git repo to a temporary folder and copy contents inside the directory to project dir. I wouldn't suggest cloning it to project directory cause it might cause conflicts with the project version tracking / control.

Doing so will let users to:

  • Create personal templates
  • Fork & customize exists templates
  • Make it easy to maintain template contents than hard coding into the project

That's just my thoughts on that, looking forward to your thoughts. What do you think about that?

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.