kidney 2.0.2 copy "kidney: ^2.0.2" to clipboard
kidney: ^2.0.2 copied to clipboard

kidney applies shell commands to multiple dart and flutter packages at once.

example/kidney_example.dart

#!/usr/bin/env dart
// @license
// Copyright (c) 2019 - 2024 Dr. Gabriel Gatzsche. All Rights Reserved.
//
// Use of this source code is governed by terms that can be
// found in the LICENSE file in the root of this package.

import 'package:kidney/kidney.dart';

Future<void> main() async {
  const param = 'foo';

  final kidney = Kidney(
    ggLog: (msg) {},
  );

  print('Executing with param $param');
  await kidney.run(['--verbose', 'ls', '-l', '-a']);

  print('Done.');
}
1
likes
140
points
9
downloads

Documentation

API reference

Publisher

verified publisherinlavigo.com

Weekly Downloads

kidney applies shell commands to multiple dart and flutter packages at once.

License

MIT (license)

Dependencies

args, gg_args, gg_console_colors, gg_local_package_dependencies, gg_log, gg_process, gg_project_root, gg_status_printer, mocktail, path, pub_semver, pubspec_parse, yaml_edit

More

Packages that depend on kidney