Skip to content

Support configuration file for persistent scan options #20

Description

@maksimov

The CLI flag list is growing (--profile, --region, --skip-metrics, --skip-sagemaker, --skip-eks, --skip-k8s, --skip-costs, --kubeconfig, --kube-context, --exclude-tag, --min-uptime-days, --prom-url, --prom-endpoint, etc). Most runs use the same configuration.

Add support for a config file (e.g., ~/.config/gpuaudit/config.yaml or .gpuaudit.yaml in the project root) so users can persist their common settings.

Considerations:

  • CLI flags should override config file values
  • Support both global (~/.config/gpuaudit/config.yaml) and local (.gpuaudit.yaml) configs, local takes precedence
  • YAML or TOML format
  • gpuaudit init command to generate a starter config

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions