Skip to content

[Feature Request] Accept command line flag/argument to allow goose to use a different config file #2782

@jbotwell

Description

@jbotwell

Proposed Feature

It would be nice to be able to set the config I would like to load using command line arguments. You can treat the current config file as the default, but having stuff like "creative-writing-config.yaml", "work-coding.yaml", "personal-coding.yaml", etc. would be cool. Then I could just alias different goose --config <sweet-and-specific-config> commands. Or call an experimental set of configs without worrying about gumming up my main one.

What would I like to see

As described above, the ability to pass different configs as cli arguments.

The following would work:

goose --config ./project-specific-goose-config.yaml
goose --config ~/.config/goose/my-other-config.yaml

Alternatives

I can write a script to do some symlinking stuff, but I figured this was a generic enough request that it was at least worth suggesting

  • I have verified this does not duplicate an existing feature request

Thanks for reading and thanks for the project; I'm enjoying it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestp3Priority 3 - Low

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions