copier icon indicating copy to clipboard operation
copier copied to clipboard

The `--help` is not crystal clear… what about this?

Open ppo opened this issue 4 years ago • 2 comments
trafficstars

I went a bit crazy 🤪 and designed this…

BTW: I renamed --pretend into --dry-run.
And copy should maybe be create.

The demo script.

ppo avatar Jan 31 '21 18:01 ppo

I like it.

Of course, it's not gonna happen in bash, so that script is not much helpful.

One of the refactors I need to make is to unify our color+printing toolkit (right now we use 3 different ones across our code base). I can see how the coloring would help, and maybe I'd consider switching to a different CLI app toolkit if it proves to have better features than the one we use right now (plumbum).

I'll keep this open to track progress, thanks!

yajo avatar Feb 01 '21 08:02 yajo

I didn't test it yet but Click seems interesting for CLI.

The Bash script is how I created the demo, it was for reference, in case someone wants to try other variations or to copy/paste the texts I modified 😉

ppo avatar Feb 01 '21 10:02 ppo