cloudify-cosmo / repex

sed on steroids
Apache License 2.0
10 stars 3 forks source link

Simplify CLI to not require subcommands #49

Closed nir0s closed 7 years ago

nir0s commented 7 years ago

in-path and from-config are unaesthetic to am embarrassing degree.

Instead, I propose this:

rpx -c config.yaml

will use a config file and verify that illegal flags are not permitted.

rpx /path/to/file ...

Will do the rest.

nir0s commented 7 years ago

We no longer provide subcommands for in-path and from-config. There is now a single rpx command which can either receive a /my/path argument or a -c config.yaml flag.