Skip to content

Add yaml config file to image tool command usage #271

@xiekeyang

Description

@xiekeyang

@opencontainers/image-spec-maintainers
Now we are appending more and more flags to image tool commend. For conveniently using, it had better to introduce a yaml config file, like that:

cmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.cobra.yaml)")

In which user can fulfill his all flags.
If you allow my idea, I'd like to take on it. Thanks a lot!

/cc @philips @stevvooe @s-urbaniak @runcom @wking

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