Skip to content

CLI Config + global options #70

@swalkinshaw

Description

@swalkinshaw

It would be nice to have a config system for trellis-cli itself. This means both a global config (likely in homedir) and local config overrides per project (in .trellis/config.yml). Right now there's probably only one global flag which is disabling virtualenv. However this feature would also allow us to build some more verbose logging output.

The ideal solution to global flags and config values would follow the standard precedence feature of CLIs:

  1. explicit CLI flag
  2. local config (if exists)
  3. global config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions