google / google/grinder.dart

Re-export unscripted's Option, Flag, Positional, and Rest?

Open
#287 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
266
Forks
36
Avg merge
23h 25m
Merged PRs (30d)
2

Description

#286 will allow optionally annotating task parameters with them. So it would be convenient to re-export those from `package:grinder/grinder.dart`, otherwise the user will need to add a dependency on `unscripted` to their pubspec (with a version that is compatible with grinder's unscripted dependency), and then import `package:unscripted/unscripted.dart` into their `grind/tool.dart` script.

However, we would probably [need to set and maintain a very narrow constraint](https://codereview.chromium.org/775413002/) on `unscripted`. Which means that anyone who wanted to use unscripted for other scripts in their package would have a limited selection of versions, and potentially a difficult time of determining what that selection even is.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.