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

poor cli support #125

Open
benkenawell opened this issue Nov 9, 2021 · 1 comment
Open

poor cli support #125

benkenawell opened this issue Nov 9, 2021 · 1 comment

Comments

@benkenawell
Copy link

running npx manypkg --help throws an error that sort of lists the possible commands, but doesn't give any description of how to use any of them:

> npx manypkg --help
☔️ error command --help not found, only check, exec, run, upgrade, npm-tag and fix exist

Similarly, running --help with any of the manypkg commands throws spawn errors:

> npx manypkg exec --help
☔️ error Error: spawn --help ENOENT
☔️ error     at Process.ChildProcess._handle.onexit (internal/child_process.js:274:19)
☔️ error     at onErrorNT (internal/child_process.js:469:16)
☔️ error     at processTicksAndRejections (internal/process/task_queues.js:82:21) {
☔️ error   errno: -2,
☔️ error   code: 'ENOENT',
☔️ error   syscall: 'spawn --help',
☔️ error   path: '--help',
☔️ error   spawnargs: []
☔️ error }

I expect a cli tool to give me basic information about itself when I run it with a --help flag; it would be great if manypkg could provide that experience!

@benkenawell
Copy link
Author

I'd be happy to open a PR addressing my concerns. Could I add a package to help create a command line interface, like commander or yargs?

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

1 participant