Harthelm Docs

hart completion

Generate the autocompletion script for the specified shell

Generated from cmd/hart at v1.5.0

Generate the autocompletion script for hart for the specified shell. See each sub-command's help for details on how to use the generated script.

hart completion [command]

Subcommands:

hart completion bash

Generate the autocompletion script for the bash shell.

This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.

hart completion bash
FlagDescription
--no-descriptionsdisable completion descriptions

hart completion fish

Generate the autocompletion script for the fish shell.

hart completion fish [flags]
FlagDescription
--no-descriptionsdisable completion descriptions

hart completion powershell

Generate the autocompletion script for powershell.

hart completion powershell [flags]
FlagDescription
--no-descriptionsdisable completion descriptions

hart completion zsh

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:

echo "autoload -U compinit; compinit" >> ~/.zshrc

hart completion zsh [flags]
FlagDescription
--no-descriptionsdisable completion descriptions

On this page