Skip to content

Config variables with CLI overrides #8

Description

@bthall

One config, many uses: mox -a deploy env=staging with {{env}} usable in connect templates and commands would remove a whole class of duplicated session definitions.

Proposal: a vars: map on the config/session for defaults, overridable by trailing key=value args. The {{host}} substitution pass already exists — generalize it over more fields, and error on undefined {{name}} references to stay consistent with strict validation. No templating library needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions