-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement subcommand parsing, borrowing a bit from Cobra for now (#17)
* Add subcommand parsing, borrowing a lot from Cobra * Refactor Find to no longer be a method * Rename find and remove unneeded error * Refactor findRequestedCommand to be less complex * Rename findNext * Add hasFlag and hasShortFlag * Tidy up a few more things
- Loading branch information
1 parent
4992106
commit 9693005
Showing
2 changed files
with
268 additions
and
23 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