Skip to content

Latest commit

 

History

History
80 lines (66 loc) · 1.8 KB

README.md

File metadata and controls

80 lines (66 loc) · 1.8 KB

This CLI allows an easy start to Flutter projects following SCP Architecture.

Features

  • Directory structure generation.
  • Dependency inclusion.
  • Project template generation.

Getting started

  1. Activate this program with pub:
  • dart pub global activate -s git https://github.com/h80r/scp8.git
  1. Add pub-cache to your path :
  • export PATH="$PATH":"$HOME/.pub-cache/bin"

Usage

Basic command

scp

With this command you will be guided to configure the desired project and it'll be generated.

Fast Start

scp -f

This command uses a default configuration for your project, needing only the project name.

Additional information

Updating

To update your program, simply run dart pub global activate -s git https://github.com/h80r/scp8.git again.

scp -f directory structure

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
    └── [...]