comet_cli 0.0.3
comet_cli: ^0.0.3 copied to clipboard
A command-line interface for comet project.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate comet_cliUse it
The package has the following executables:
$ comet
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add comet_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
comet_cli: ^0.0.3Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:comet_cli/cmd_create.dart';
import 'package:comet_cli/cmd_deploy.dart';
import 'package:comet_cli/cmd_root.dart';
import 'package:comet_cli/config.dart';
import 'package:comet_cli/copy_templates.dart';
import 'package:comet_cli/create_test_folder.dart';
import 'package:comet_cli/download_template.dart';
import 'package:comet_cli/flutter_build.dart';
import 'package:comet_cli/gh_pages.dart';
import 'package:comet_cli/run_deploy_help.dart';
import 'package:comet_cli/run_help.dart';
import 'package:comet_cli/run_version.dart';
import 'package:comet_cli/test.dart';
import 'package:comet_cli/unzip_template.dart';