Replies: 3 comments 2 replies
-
I think the mix can be the best approach, from what I understood the CLI will not only wrap the binaries, but will provide some standard way to execute the binaries. Like: $ cmd1 init
$ cmd2 --init
$ up cmd1 init
$ up cmd2 init Of course, the standard way will be created by the user, and this is another point to think alongside the idea of change the |
Beta Was this translation helpful? Give feedback.
-
@pedro-psb you are correct, the main use case is use actual binaries, like |
Beta Was this translation helpful? Give feedback.
-
@fabiobarkoski We can't enforce standard, but i'm trying to keep the same |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I've been thinking about some details of the usage that I'd like to discuss so we can start thinking of more specific solutions together.
Usage
Which one would be the primary use case for the tool? Please share anything not mentioned here, as well.
Wrap/redirect
Completely wrap a program/binary, redirecting the arguments unmodified, like:
Compose
Create commands that uses the original ones, writing custom help and mapping cmd+args to binary commands:
Mix
Both cases are important:
Considerations
From what I understood from the proposal, the main usage is really wrapping another binary.
On the other hand, providing composed commands could be convenient to share with another team, because a given workflow usually requires a specific subset of commands from a CLI tool (that the other team may be unfamiliar with).
In this case, each pluggable tool would be:
Beta Was this translation helpful? Give feedback.
All reactions