openneuro
openneuro copied to clipboard
@openneuro/cli is not working when called with npx
Describe the bug
npx @openneuro/cli ... fails to parse options correctly and either produces no output or begins reading git commands.
To Reproduce Steps to reproduce the behavior:
npx @openneuro/cli --help
Expected behavior The CLI should work with npx (and other similar ways of calling it).
Additional context Looks like this regression is caused by https://github.com/OpenNeuroOrg/openneuro/pull/2371