Skip to content

Not able to specify configuration file on command line #76

Description

@sivann

Unless I'm missing something obvious, I can't find a way to specify configuration file on command line like
app -conf config.toml

Using the flags package on top of multiconfig breaks the helpfile and produces a "flag provided but not defined".

Activity

  1. markx commented on Jan 29, 2019

    @markx

    This library creates flags according to your config struct. It seems that your config struct doesn't have a conf field, hence the error "flag provided but not defined".

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