Skip to content

Consider allowing shorthand for commands #11

@velovix

Description

@velovix

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions