semi_cli 1.0.3
semi_cli: ^1.0.3 copied to clipboard
A Flutter/Dart CLI tool for Semi Design, providing project scaffolding, and release management.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate semi_cliUse it
The package has the following executables:
$ semi_cli
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add semi_cliWith Flutter:
$ flutter pub add semi_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
semi_cli: ^1.0.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:semi_cli/create/index.dart';
import 'package:semi_cli/create/template_app_default.dart';
import 'package:semi_cli/create/template_app_mutil_select.dart';
import 'package:semi_cli/release/index.dart';
import 'package:semi_cli/release/utils.dart';
import 'package:semi_cli/release/version_manage.dart';