Skip to content

Is it possible to set a default namespace for command-line arguments? #239

@wanicca

Description

@wanicca

spock-config is a nice alternative to argparse. However, we have to add namespace name in argument (e.g. --BaseConfig.lr=value). That is sometimes cumbersome. If there is a way to set default namespace, the command-line arguments can work more like argparse.

Of course, to avoid conflict, some arguments (h,help,c,config) cannot be in such default namespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogfeatures or issues to be worked on in the futuregood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions