View Source Shell.Completion.Bash (fnord v0.6.4)

Bash completion script generator. This module should not be used directly. Instead, use the Shell.Completion module to generate completion scripts.

Summary

Functions

generate_bash_script(spec)

@spec generate_bash_script(Shell.Completion.command_spec()) :: String.t()

validate_command_spec(spec)

@spec validate_command_spec(Shell.Completion.command_spec()) ::
  :ok | {:error, String.t()}