You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Git allows users to only type part of a command if the rest of it can be unambiguously guessed. In the BrainFrame CLI this would mean that the user could type brainframe c up instead of brainframe compose up because "compose" is the only command that starts with a "c".
Pros
It's a relatively standard feature
It lets users type less
Cons
Additional complexity when parsing arguments
When we add additional commands, it could break peoples' workflows by not allowing them to use their preferred shorthand anymore
@apockill@BryceBeagle What do you think? I'm mildly in favor, mostly because compose commands can get fairly long right now.
The text was updated successfully, but these errors were encountered:
Could we add a check to see if the command is being run in a non-interactive shell, and throw a warning if a shorthand command is used? This could help prevent tooling/scripts from using the shorthand commands.
Git allows users to only type part of a command if the rest of it can be unambiguously guessed. In the BrainFrame CLI this would mean that the user could type
brainframe c up
instead ofbrainframe compose up
because "compose" is the only command that starts with a "c".Pros
Cons
@apockill @BryceBeagle What do you think? I'm mildly in favor, mostly because
compose
commands can get fairly long right now.The text was updated successfully, but these errors were encountered: