cli_util icon indicating copy to clipboard operation
cli_util copied to clipboard

A library to help in building Dart command-line apps

Results 9 cli_util issues
Sort by recently updated
recently updated
newest added

See related dart-lang/sdk#41560, https://github.com/dart-lang/sdk/issues/49166#issuecomment-1223943236 Test plan: ``` $ dart test 00:01 +16: All tests passed! ``` run `dart doc` and inspect docs for correctness. --- - [x] I’ve reviewed the...

This PR replaces on instance on `print` with `stdout.writeln` in `StandardLogger`. When having zones with custom print handling, the use of `print` here may lead to very unexpected outputs. There...

- [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR. This PR adds a customizable Progress mentioned in #85. Demo: https://github.com/dart-lang/cli_util/assets/68946713/3d719207-dc18-466f-bbb8-762a0124cd90 #### Changes made: -...

I think it would be useful if this package supported more customizable Progress to display percentages, counts, reporting messages, etc. I couldn't find any package that provides this kind of...

Trying to standardize on https://github.com/dart-lang/io/blob/master/lib/ansi.dart

type-enhancement

Hi there, My Flutter application uses the `analyzer` package, and I'm finding that after a upgrade, our tests are now failing. It looks like `getSdkPath` wasn't designed to accommodate a...

``` // test.dart import 'package:cli_util/cli_util.dart'; main() { print(getSdkPath()); } ``` ``` dart-sdk/sdk$ out/ReleaseX64/dart test.dart /usr/local/google/home/sigurdm/projects/dart-sdk/sdk/out ``` That is not really a helpful directory. I am not sure where the out/ReleaseX64/dart...

See the following bug and fix in the dartdev pkg: https://github.com/dart-lang/sdk/issues/40808 https://dart-review.googlesource.com/c/sdk/+/137846

Like: - responding to `--version` - responding to `--help` - printing usage text (decorating the `args` usage text slightly) - creating an `ArgsParser` object Probably architected as an abstract template...

type-enhancement