This CLI allows an easy start to Flutter projects following SCP Architecture.
- Directory structure generation.
- Dependency inclusion.
- Project template generation.
- Activate this program with
pub
:
dart pub global activate -s git https://github.com/h80r/scp8.git
- Add pub-cache to your path :
export PATH="$PATH":"$HOME/.pub-cache/bin"
scp
With this command you will be guided to configure the desired project and it'll be generated.
scp -f
This command uses a default configuration for your project, needing only the project name.
To update your program, simply run dart pub global activate -s git https://github.com/h80r/scp8.git
again.
sample_project
├── analysis_options.yaml
├── android
│ └── [...]
├── .dart_tool
│ └── [...]
├── .gitignore
├── .idea
│ └── [...]
├── ios
│ └── [...]
├── lib
│ ├── canvas
│ │ ├── components
│ │ │ └── .gitkeep
│ │ └── home.dart
│ ├── main.dart
│ ├── provider
│ │ └── canvas
│ │ └── home.dart
│ ├── schema
│ │ ├── canvas
│ │ │ └── home.dart
│ │ └── enums
│ │ └── .gitkeep
│ └── utils
│ └── .gitkeep
├── linux
│ └── [...]
├── .metadata
├── .packages
├── pubspec.lock
├── pubspec.yaml
├── README.md
├── sample_project.iml
├── test
│ └── [...]
└── web
└── [...]