CLI — Shell completion
Enable Tab key completion so the shell suggests commands and subcommands as you type.
Install
Run the install command once — it writes the completion setup into your shell's init file automatically:
datafast completion install
Restart your terminal (or source your shell init file) to activate:
# bash
source ~/.bash_profile # or ~/.bashrc
# zsh
source ~/.zshrc
# fish restarts automatically on new sessions
Now press Tab after
datafast to see available commands:datafast <Tab>
# login logout whoami config websites tokens alerts funnels analytics completion
Completion also works with the singular website alias and website subcommands:
datafast website <Tab>
datafast websites <Tab>
# list get create update delete kpi apikeys team
Uninstall
Remove the completion setup from your init file:
datafast completion uninstall