Skip to content

Support loading config from env var or config file #192

Description

@sbernauer

Came out of #36 (comment):

Is this parameter [--additional-demo-files] necessary for all calls of stackablectl? Wouldn't be an environment variable or folder containing the custom demos also be a viable solution?

Activity

  1. sbernauer commented on Feb 13, 2023

    @sbernauer
    MemberAuthor

    This topic came up again in #228. One solution could be to add a config_file.properties or config_file.yaml. Before implementing a look should be taken at e.g. curl and git.

  2. transferred this issue fromon Feb 1, 2024
  3. NickLarsenNZ commented on Jul 29, 2024

    @NickLarsenNZ
    Member

    We should use the XDG_CONFIG_HOME var (or fallback rules as defined in the XDG Base Directory Specification)

    Eg: ~/.config/stackablectl/config.toml (or whatever the user has changed it to).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions