config
CLI の設定を管理します。
config get
設定値を取得します。
bash
lm config get <key>対応キー: format, active_profile
config set
設定値を変更します。
bash
lm config set <key> <value>| キー | 値 | 説明 |
|---|---|---|
format | table/json/yaml/csv | デフォルト出力フォーマット |
active_profile | プロファイル名 | アクティブプロファイル |
config list
全設定値を表示します。
bash
lm config listconfig validate
設定ファイルの整合性をチェックします。
bash
lm config validateconfig.yaml: ok (1 profile(s))
credentials.yaml: ok
tokens.yaml: ok (default: valid, staging: expired)
Active profile: defaultチェック対象:
config.yaml— YAML パース、プロファイル数credentials.yaml— YAML パースtokens.yaml— YAML パース、各トークンの有効期限
設定に問題がある場合は exit code 1 で終了します。