A harness for your *ctl tools.
kubectl, systemctl, launchctl, journalctl, talosctl, istioctlβ¦
Each one has dozens of subcommands and hundreds of flags. ctlctl puts them all
in one view. Pick a tool and its subcommands from a tree, read
their --help with syntax highlighting, click flags into the command line,
then fill in the arguments and press Enter.
macOS, Linux and FreeBSD:
curl -fsSL https://raw.githubusercontent.com/rafalmaciejewski/ctlctl/main/install.sh | shWindows (PowerShell):
irm https://raw.githubusercontent.com/rafalmaciejewski/ctlctl/main/install.ps1 | iexFor other ways to install, see Installation.
ctlctl # every *ctl tool you can run
ctlctl kubectl get # open a tool, or go straight to a subcommand- Select a tool and press Enter to see its subcommands.
- Pick subcommands the same way. When you reach one without subcommands,
Enter moves you to the command line, already holding something like
kubectl get. - Type the arguments, clicking flags in the help to add them, and press Enter to run the command.
Press ? to see all keys, and ctrl+c to quit.
- Usage: keys, mouse, running commands, shell integration
- Configuration: choosing which tools are listed
- How it works: finding tools, reading their help, and why subcommands are never run by accident
- Installation: versions, install location, Go, manual downloads
See CONTRIBUTING.md for development and the release process.
