broadinstitute/fiss

RFE: config_copy signature can be more useful

Opened this issue · 0 comments

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 ...]