Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework default program name, and searching for subcommands (#1571)
* Simplify how default program name found. Just use args. * Rework search for executable files * Adjust error messaging, still WIP * Add executableDir and use searching for subcommands * Wording improvements * Add TypeScript for nameFromFilename * Add new tests for name (and nameFromFilename) * Add TypeScript for executableDir * Start tests for subcommand search * Comment-out unused routine for lint, WIP * Refactor tests and skip launchable executable tests on Windows * Add notes on further tests * Filling out mock executable tests * Expand tests * Remove debugging and ToDo * Relative and absolute test for executableDir * Avoid memory leak warning * Fix relative search test * Separate and expand .name section in README. And some lint, remove trailing spaces et al * Add .name to multiple subcommand example * Update description of executable search. Add mention of .executableDir * Add coverage of naming subcommands.
- Loading branch information
1 parent
3f77e7e
commit b1b7aca
Showing
13 changed files
with
483 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.