Skip to content

πŸš€πŸ’» A super fast and easy CLI for Flutter mobile applications.

Notifications You must be signed in to change notification settings

riccardocalligaro/jet-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

jet-cli

Throughout the life span of a project, when we build new features, we often need to add new resources to our application. These resources typically require multiple, repetitive operations that we have to repeat each time we define a new resource.

Commands

$ jet feature <name>

Create a new feature in seconds.

jet feature todo

❓ Is plural [Todos] correct?:  [y][n]:
βœ… Ok, singular todo, plural: todos
❓ Has domain layer?  [y][n]:
❓ Is response a single object? [y][n]:

🌐 Is action [GET]? [y][n]:

🌐 Generate remote model? [y][n]:
❓ Insert model JSON: {
        "userId": 1,
        "id": 1,
        "title": "delectus aut autem",
        "completed": false
}

πŸ™Œ Generated output/todos/data/remote/todo_remote_model.dart

🌐 Generate remote datasource? [y][n]:
βœ… Ok, generating TodosRemoteDatasource...
        ❓ Generate response conversion? [y][n]:
        ❓ API path: [/todos]

πŸ™Œ Generated output/todos/data/remote/todos_remote_datasource.dart

πŸ“ Generate repository?  [y][n]:
πŸ™Œ Generated output/todos/domain/model/todo_domain_model.dart
πŸ™Œ Generated output/todos/domain/repository/todos_repository.dart
πŸ™Œ Generated output/todos/data/repository/todos_repository_impl.dart

🌊 Generate BloC?  [y][n]:
πŸ™Œ Generated output/todos/presentation/bloc/todos_bloc.dart
πŸ™Œ Generated output/todos/presentation/bloc/todos_event.dart
πŸ™Œ Generated output/todos/presentation/bloc/todos_state.dart

πŸŒ‡ Generate page presentation? [y][n]:
πŸ™Œ Generated output/todos/presentation/todos_loaded.dart
πŸ™Œ Generated output/todos/presentation/todos_page.dart

πŸ“¦ Generate container? [y][n]:
πŸ™Œ Generated output/todos/todos_container.dart

$ jet project <name>

Create a project in seconds.

TODO

About

πŸš€πŸ’» A super fast and easy CLI for Flutter mobile applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published