Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | commands: refactor registration | Robin Jarry | 2024-01-20 | 1 | -10/+0 |
| | | | | | | | | | | | | | | | | | | Register all commands with the same function and store them in the same map. Use bit flags to determine in which contexts each command should be available. Remove duplicate commands now that the same command can be exposed in multiple contexts. Refactor API to allow executing commands from other commands without import cycles. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com> Tested-by: Johannes Thyssen Tishman <johannes@thyssentishman.com> | ||||
* | lint: apply new formatting rules | Moritz Poldrack | 2022-08-01 | 1 | -3/+1 |
| | | | | | | | Run `make fmt`. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc> | ||||
* | Implement basic tab completion support | Gregory Mullen | 2019-06-29 | 1 | -2/+2 |
| | | | | | Tab completion currently only works on commands. Contextual completion will be added in the future. | ||||
* | Add context-specific commands | Drew DeVault | 2019-03-21 | 1 | -0/+12 |