hpf_cli 1.0.0+3
hpf_cli: ^1.0.0+3 copied to clipboard
A command-line application.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate hpf_cliUse it
The package has the following executables:
$ hpf
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add hpf_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
hpf_cli: ^1.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:hpf_cli/command/args_mixin.dart';
import 'package:hpf_cli/command/command.dart';
import 'package:hpf_cli/command/command_list.dart';
import 'package:hpf_cli/command/command_parent.dart';
import 'package:hpf_cli/command/create/page.dart';
import 'package:hpf_cli/common/pubspec/pubdev_utils.dart';
import 'package:hpf_cli/common/pubspec/pubspec_utils.dart';
import 'package:hpf_cli/common/pubspec/yaml_to.string.dart';
import 'package:hpf_cli/common/shell/shell_utils.dart';
import 'package:hpf_cli/core/file_model.dart';
import 'package:hpf_cli/core/generator.dart';
import 'package:hpf_cli/core/structure.dart';
import 'package:hpf_cli/extensions/list.dart';
import 'package:hpf_cli/functions/create/create_single_file.dart';
import 'package:hpf_cli/functions/file/format.dart';
import 'package:hpf_cli/functions/file/import_sort.dart';
import 'package:hpf_cli/functions/file/path.dart';
import 'package:hpf_cli/samples/controller.dart';
import 'package:hpf_cli/samples/page.dart';
import 'package:hpf_cli/samples/sample.dart';
import 'package:hpf_cli/samples/state.dart';