-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable custom command groups (Suggestion #2224) (#1681)
* Disable cc groups * Update schema.go * custom_command_groups.go, disable custom command groups * Update custom_commands.go * check if the group is disabled * Added a switch to disable the group and a small warning to the group name * Added a switch to disable the group and a small warning to the group name * remove a space Co-authored-by: Joe L. <[email protected]> * remove getDisabledGroups and use cmd.R.Group.Disabled * remove getDisabledGroups and use cmd.R.Group.Disabled * fix & made the code better * don't exec the command if the group is disabled * made the code better * removed commented-out code --------- Co-authored-by: Joe L. <[email protected]>
- Loading branch information
Showing
8 changed files
with
129 additions
and
33 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.