Module rebar_completion

This module defines the rebar_completion behaviour.
Required callback functions: generate/2.

Data Types

arg_type()

arg_type() = atom | binary | boolean | float | integer | string

cmpl_arg()

cmpl_arg() = #{short => char() | undefined, long => string() | undefined, type => arg_type(), help => string()}

cmpl_cmd()

cmpl_cmd() = #{name := string(), help := string() | undefined, args := [cmpl_arg()], cmds => [cmpl_cmd()]}

cmpl_opts()

cmpl_opts() = #{aliases => [string()], file => file:filename(), shell => bash | zsh}

Function Index

generate/2
prelude/1

Function Details

generate/2

generate(Commands::[cmpl_cmd()], CmplOpts::cmpl_opts()) -> iolist()

prelude/1

prelude(X1) -> any()


Generated by EDoc