Skip to content

Make configuration file path overridable by CLI/Env #285

Closed
@kradalby

Description

Currently we have a very rigid hierarchy of paths that we look for the configuration file.

We should add the possibility to pass:

  1. --config (or -c) to all commands with the path to a configfile
  2. HEADSCALE_CONFIG_PATH in the environment

Activity

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

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