-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: POC for allowing flexible command taxonomy (#376)
* feat: POC for allowing flexible command taxonomy * chore: improve implementation * chore: fix tests * chore: clean up * fix: only run command_incomplete if there are matches * feat: support tax-free aliases and narrow matches based on provided flags * chore: clean up * chore: clean up * chore: add some notes * perf: add PermutationIndex class * perf: improve PermutationIndex * chore: clean up * perf: use Maps for everything * chore: clean up * chore: update unit tests * chore: update error message * fix: collateSpacedCmdIDFromArgs * fix: command array * fix: commandIDs * chore: remove _commands cache * chore: expose methods for getting defined commands * fix: dont append permutations to this.commands * chore: code review * chore: add tests * Update test/config/util.test.ts Co-authored-by: Rodrigo Espinosa de los Monteros <1084688+RodEsp@users.noreply.github.com> * chore: code review * chore: code review * chore: update tests * feat: support topic permutations Co-authored-by: Rodrigo Espinosa de los Monteros <1084688+RodEsp@users.noreply.github.com>
- Loading branch information
1 parent
75da28f
commit c47c6c6
Showing
14 changed files
with
707 additions
and
141 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.