CLI usage¶CLIの使用¶
Verbosity¶冗長性¶
The amount of displayed output is controlled solely by the -v/--verbose (environment variable HATCH_VERBOSE) and -q/--quiet (environment variable HATCH_QUIET) root options.表示される出力の量は、-v/--verbose(環境変数 HATCH_VERBOSE)および -q/--quiet(環境変数 HATCH_QUIET)ルートオプションによってのみ制御されます。
The levels are documented here.レベルはこちらに文書化されています。
Project awareness¶プロジェクトの認識¶
No matter the mode, Hatch will always change to the project's root directory for entering or running commands in environments.どのモードであっても、Hatchは常にプロジェクトのルートディレクトリに変更し、環境に入るか、コマンドを実行するために使用します。
Tab completion¶タブ補完¶
Completion is achieved by saving a script and then executing it as a part of your shell's startup sequence.補完はスクリプトを保存し、それをシェルの起動シーケンスの一部として実行することで達成されます。
Afterward, you'll need to start a new shell in order for the changes to take effect.その後、変更を有効にするために新しいシェルを起動する必要があります。
Save the script somewhere:スクリプトをどこかに保存してください:
_HATCH_COMPLETE=bash_source hatch > ~/.hatch-complete.bash
Source the file in ~/.bashrc (or ~/.bash_profile if on macOS):~/.bashrc(またはmacOSの場合は~/.bash_profile)でファイルをソースします:
. ~/.hatch-complete.bash
Save the script somewhere:スクリプトをどこかに保存してください:
_HATCH_COMPLETE=zsh_source hatch > ~/.hatch-complete.zsh
Source the file in ~/.zshrc:~/.zshrcでファイルをソースします:
. ~/.hatch-complete.zsh
Save the script in ~/.config/fish/completions:~/.config/fish/completionsにスクリプトを保存します:
_HATCH_COMPLETE=fish_source hatch > ~/.config/fish/completions/hatch.fish