Note: Autocompletion isn’t automatically activated on installation. You must set it up in your shell environment. You have two main approaches:
Note: If you used an isolated environment installation with pipx, you need to do a Manual Shell Configuration
This tool globally enables argcomplete for all your Python CLI tools.
-
Run the following command:
activate-global-python-argcomplete
-
Then, restart your shell.
This registers autocompletion for any tool using argcomplete, includingfirestarter.
If you prefer to enable autocompletion only for Firestarter, follow these instructions:
-
Ensure that the
argcompletepackage is installed (it comes with Firestarter). -
Add the following line to your
~/.bashrcfile:eval "$(register-python-argcomplete firestarter)"
-
Reload your shell or run the command directly.
-
Add the same line to your
~/.zshrcfile:eval "$(register-python-argcomplete firestarter)"
-
Restart your terminal session.
Argcomplete does not work in the traditional CMD shell. For PowerShell:
-
Open PowerShell as Administrator.
-
Add the following line to your PowerShell profile (usually at
~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1):register-python-argcomplete firestarter | Out-String | Invoke-Expression
-
Restart PowerShell.
Note: If you experience issues with autocompletion in Windows, consider using the Windows Subsystem for Linux (WSL) or Git Bash, where the Linux instructions apply.
The procedure for enabling autocompletion remains the same whether you install via pip or pipx. The pipx-installed executable is isolated in its own environment, so ensure that the command name (firestarter) matches what you reference in your shell configuration. Verify the installation with:
pipx list