cotr_cli 1.0.5 cotr_cli: ^1.0.5 copied to clipboard
A CLI for the code_on_the_rocks package.
This is a basic CLI app for the code_on_the_rocks state management package.
Installation #
dart pub global activate cotr_cli
Usage #
cotr view -n home
The view
command will create the following contents:
- A new directory with the name of the view (ex.
home
) - A new dart file containing the
ViewModelBuilder
(ex.home_view.dart
) - A new dart file containing the
ViewModel
andViewModelBuilder
(ex.home_view_model.dart
)