sip_cli 0.11.0 sip_cli: ^0.11.0 copied to clipboard
Manage mono-repos with `sip`, run scripts and get dependencies concurrently.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate sip_cli
Use it
The package has the following executables:
$ sip
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add sip_cli
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
sip_cli: ^0.11.0
Alternatively, 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:sip_cli/commands/a_pub_command.dart';
import 'package:sip_cli/commands/clean_command.dart';
import 'package:sip_cli/commands/list_command.dart';
import 'package:sip_cli/commands/pub_command.dart';
import 'package:sip_cli/commands/pub_get_command.dart';
import 'package:sip_cli/commands/pub_upgrade_command.dart';
import 'package:sip_cli/commands/script_run_command.dart';
import 'package:sip_cli/commands/test_clean_command.dart';
import 'package:sip_cli/commands/test_command/__both_args.dart';
import 'package:sip_cli/commands/test_command/__conflicting_args.dart';
import 'package:sip_cli/commands/test_command/__dart_args.dart';
import 'package:sip_cli/commands/test_command/__flutter_args.dart';
import 'package:sip_cli/commands/test_command/test_command.dart';
import 'package:sip_cli/commands/test_command/tester_mixin.dart';
import 'package:sip_cli/commands/test_run_command.dart';
import 'package:sip_cli/commands/test_watch_command.dart';
import 'package:sip_cli/commands/update_command.dart';
import 'package:sip_cli/domain/any_arg_parser.dart';
import 'package:sip_cli/domain/any_arg_results.dart';
import 'package:sip_cli/domain/bindings.dart';
import 'package:sip_cli/domain/bindings_impl.dart';
import 'package:sip_cli/domain/command_result.dart';
import 'package:sip_cli/domain/command_result.g.dart';
import 'package:sip_cli/domain/command_to_run.dart';
import 'package:sip_cli/domain/command_to_run.g.dart';
import 'package:sip_cli/domain/cwd.dart';
import 'package:sip_cli/domain/cwd_impl.dart';
import 'package:sip_cli/domain/domain.dart';
import 'package:sip_cli/domain/find_file.dart';
import 'package:sip_cli/domain/find_yaml.dart';
import 'package:sip_cli/domain/optional_flags.dart';
import 'package:sip_cli/domain/optional_flags.g.dart';
import 'package:sip_cli/domain/package_to_test.dart';
import 'package:sip_cli/domain/pubspec_lock.dart';
import 'package:sip_cli/domain/pubspec_lock_impl.dart';
import 'package:sip_cli/domain/pubspec_yaml.dart';
import 'package:sip_cli/domain/pubspec_yaml_impl.dart';
import 'package:sip_cli/domain/run_many_scripts.dart';
import 'package:sip_cli/domain/run_one_script.dart';
import 'package:sip_cli/domain/script.dart';
import 'package:sip_cli/domain/script.g.dart';
import 'package:sip_cli/domain/script_env.dart';
import 'package:sip_cli/domain/script_env.g.dart';
import 'package:sip_cli/domain/scripts_config.dart';
import 'package:sip_cli/domain/scripts_config.g.dart';
import 'package:sip_cli/domain/scripts_yaml.dart';
import 'package:sip_cli/domain/scripts_yaml_impl.dart';
import 'package:sip_cli/domain/test_scope.dart';
import 'package:sip_cli/domain/testable.dart';
import 'package:sip_cli/domain/variables.dart';
import 'package:sip_cli/sip_runner.dart';
import 'package:sip_cli/utils/constants.dart';
import 'package:sip_cli/utils/determine_flutter_or_dart.dart';
import 'package:sip_cli/utils/exit_code.dart';
import 'package:sip_cli/utils/exit_code_extensions.dart';
import 'package:sip_cli/utils/key_press_listener.dart';
import 'package:sip_cli/utils/run_script_helper.dart';
import 'package:sip_cli/utils/stopwatch_extensions.dart';
import 'package:sip_cli/utils/stream_group.dart';
import 'package:sip_cli/utils/try_read_list_or_string.dart';
import 'package:sip_cli/utils/write_optimized_test_file.dart';