Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: config_copy signature can be more useful #86

Open
noblem opened this issue Apr 4, 2018 · 0 comments
Open

RFE: config_copy signature can be more useful #86

noblem opened this issue Apr 4, 2018 · 0 comments

Comments

@noblem
Copy link
Contributor

noblem commented Apr 4, 2018

At present the config_copy command takes only 1 config ... but often one will want to copy multiple configs in one shot ... so, a more general signature for this command, which encompasses both the single and multi-config use case is to move the config argument from being a -c config flag to being a required positional argument. Moreover, many FISS commands should be reworked in a similar fashion, i.e. to not require a flag but instead use a required positional argument to specify the most important piece of input. As a very simple example, consider space_delete: indicating which space(s) to delete can be done with one or more positional args, the -w flag is completely superfluous

config_copy [-h]   [-n NAMESPACE]
                               [-p FROMPROJECT] 
                               [-s FROMSPACE]
                               [-C TONAME] [-S TOSPACE] 
                               [-N TONAMESPACE]
                               [-P TOPROJECT]
                               config [config ...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant