-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add option to specify executable file name #999
Add option to specify executable file name #999
Conversation
Because there was a major upgrade.
Node.js 6 is EOL. I get the following error in a library that does not support Node.js 6. ``` node_modules/eslint/lib/cli-engine/cli-engine.js:257 ...calculateStatsPerFile(messages) ^^^ ```
Upgrade packages
…mo/commander.js into abetomo-feature_specify_subcommand
- add to README - rename option - include support for executableFile for alias and default command - consistent use of node to launch javascript files
Example call for interested readers:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
Available now as a prerelease. See #1001 |
Shipped in v3: https://github.com/tj/commander.js/releases/tag/v3.0.0 |
Hi there ! Could it be that you forgot to update the typescript definition for the option object passed to the command function ? from interface CommandOptions {
noHelp?: boolean;
isDefault?: boolean;
} |
Drat! Thanks @CaptainQuirk, I'll fix that. |
Builds on #854 to add command option for specifying executable file name, and overriding default name construction.
executableFile
executableFile
for alias and default executable tooexecutableFile
and keep behaviour consistent(Includes latest commits in master, pulled in when merging #854.)