Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guidelines for suggested usage of CLI packages #6221

Open
parlough opened this issue Nov 19, 2024 · 0 comments
Open

Guidelines for suggested usage of CLI packages #6221

parlough opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
d.enhancement Improves docs with specific ask dev.packages Relates to package publishing e2-days Can complete in < 5 days of normal, not dedicated, work from.team Reported by Dash docs team member p2-medium Necessary but not urgent concern. Resolve when possible.

Comments

@parlough
Copy link
Member

parlough commented Nov 19, 2024

Help developers decide what method of using their published CLI package they should use/recommend.

Rough sketch of potential flow:

  1. If closely tied to package also used as normal dependency, no extra dependency, just dart run package:command.
  2. If a separate package that is tied to other dependencies a package might have or each contributor should have the same version of, add as dev dependency, then dart run package:command.
  3. (Doesn't exist yet) If unrelated to dependencies of a package or used outside a package, one-off global run command.
  4. (Discouraged) If desired to have a binstub to use without dart run or dart pub global run, then dart pub global activate.
@parlough parlough added d.enhancement Improves docs with specific ask p2-medium Necessary but not urgent concern. Resolve when possible. e2-days Can complete in < 5 days of normal, not dedicated, work dev.packages Relates to package publishing from.team Reported by Dash docs team member labels Nov 19, 2024
@parlough parlough self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d.enhancement Improves docs with specific ask dev.packages Relates to package publishing e2-days Can complete in < 5 days of normal, not dedicated, work from.team Reported by Dash docs team member p2-medium Necessary but not urgent concern. Resolve when possible.
Projects
None yet
Development

No branches or pull requests

1 participant