Skip to content

[yarn/npm] make package.json fig config more capable #439

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

Open
2 tasks done
lukemelia opened this issue Aug 4, 2021 · 1 comment
Open
2 tasks done

[yarn/npm] make package.json fig config more capable #439

lukemelia opened this issue Aug 4, 2021 · 1 comment

Comments

@lukemelia
Copy link

Sanity checks

  • My issue relates to a specific CLI completion spec (e.g. git checkout is missing options in git completion spec). If your issue is more general, please create your issue here: withfig/fig
  • I have searched github.com/withfig/autocomplete/issues and there are no duplicates of my issue

What CLI tool does this relate to?

yarn/npm

Which statement makes the most sense?

This completion spec isn't complete

Issue Details

It would be helpful if the yarn/npm embedded fig config feature for package.json scripts had the ability to nest commands and add options. Currently, it only seems to support customizing the top-level suggestions.

@lukemelia lukemelia changed the title [yarn/npm] [yarn/npm] make package.json fig config more capable Aug 4, 2021
@brendanfalk
Copy link
Member

Totally agree - this should use the generateSpec prop in the run subcommand object as opposed our current implementation of having an argument beneath run!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants