ceylon bash-completion [--cword=<value>] [--] [<arguments...>]


The <arguments> are the elements of the ${COMP_WORDS} bash array variable.

The tool inspects the <arguments> and writes its completions to standard output.Currently the tool can complete

  • tool names (except tools names which are arguments to another tool),
  • long option names,
  • long option values if the setter type is a java.lang.File or a subclass of java.lang.Enum.



The index in the <arguments> of the argument being completed, i.e. The value of ${COMP_CWORD}.