ay config
Verwaltet Default-Optionen der CLI, gespeichert in ~/.config/ayoune/config.json. Defaults werden bei jedem Command-Run vor User-Flags gemerged — explizite Flags übersteuern.
Verfügbare Keys
| Key | Typ | Choices |
|---|---|---|
responseFormat |
string | json, csv, yaml, table |
verbosity |
string | default, extended, minimal |
outPath |
string | beliebig (für --save) |
hideMeta |
boolean | true / false |
quiet |
boolean | true / false |
force |
boolean | true / false (Confirmation überspringen) |
dryRun |
boolean | true / false |
Subcommands
ay config (interaktiv)
Inquirer-Wizard mit allen Keys.
ay config
ay config set <key> <value>
ay config set responseFormat yaml
ay config set hideMeta true
ay config set outPath ~/exports/
ay config get <key>
ay config get responseFormat
# yaml
ay config list
Zeigt alle Defaults in tabellarischer Form.
ay config list
ay config reset
Setzt alle Defaults zurück (Bestätigung erforderlich, mit --force skippable).
ay config reset
ay config reset --force
Beispiel-Workflow
# YAML als Default-Output
ay config set responseFormat yaml
# Force für CI-Scripts
ay config set force true
# Permanenten Pfad für --save
ay config set outPath /var/log/ayoune/