Skip to content

CLI usage


Verbosity

表示される出力の量は、-v/--verbose(環境変数HATCH_VERBOSE)と-q/--quiet(環境変数HATCH_QUIET)root optionsによってのみ制御されます。

レベルについては、hereに記載されています。

Project awareness

modeに関係なく、環境内のenteringまたはrunning commandsの場合、Hatchは常にプロジェクトのルートディレクトリに移動します。

Tab completion

スクリプトを保存し、それをシェルの起動シーケンスの一部として実行することで完了します。

その後、変更を有効にするために新しいシェルを開始する必要があります。

Save the script somewhere:

_HATCH_COMPLETE=bash_source hatch > ~/.hatch-complete.bash

Source the file in ~/.bashrc (or ~/.bash_profile if on macOS):

. ~/.hatch-complete.bash

Save the script somewhere:

_HATCH_COMPLETE=zsh_source hatch > ~/.hatch-complete.zsh

Source the file in ~/.zshrc:

. ~/.hatch-complete.zsh

Save the script in ~/.config/fish/completions:

_HATCH_COMPLETE=fish_source hatch > ~/.config/fish/completions/hatch.fish