Skip to content

Conversation

@DannyBen
Copy link
Member

@DannyBen DannyBen commented Jun 30, 2021

This PR lets us specify that we want the generated bash script to look for another executable when an unknown command is used. This is similar to how git works.

It allows two modes:

  • Extension mode: Similar to git, where any calls to mycli anything, will look for an executable named mycli-anything in the path and call it if found.
  • Delegate mode: Where any unknown command will be delegated to a predetermined executable.

@DannyBen DannyBen merged commit 85ab77e into master Jun 30, 2021
@DannyBen DannyBen deleted the add/extensible branch June 30, 2021 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants