Skip to content

Revisit CLI flags parsing #47

@aufi

Description

@aufi

There is a dual way to get flags with env&cli args and YAML config, this combines cobra and viper, we might consider something unified or cleaner. Example related code https://github.com/konveyor-ecosystem/kubectl-migrate/pull/44/changes#diff-ce39d5c9893fdbe876354feb12f9efe7a4b2773e83d88fff2a34b4902e3f89f3R27-R28 more in primary export, transform and apply packages with their subcommands.

Related changes #44 importing crane and also crane history with this including migtools/crane#68

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