Skip to content

v0.1.7

Compare
Choose a tag to compare
@maxlandon maxlandon released this 16 Aug 10:08
· 57 commits to main since this release
e514834

Commands

  • Command filtering code has been enhanced with error templates to return a library-specific
    error message when running a command failed because it was marked filtered.
    New functions include:

    • CheckIsAvailable(cmd *cobra.Command) error
    • SetErrUnavailableCommandTemplate() to set custom errors when a command is filtered.
  • Arbitrary command lines can be ran at any point with the RunCommand{Args,Line} functions.

Dependencies

Readline shell and the carapace completion engines are updated to their latest version.

Others

Various fixes to the code, and cleanup.