Warning: file_get_contents(documentation/articles/samplesminiappminiapp-cli.php.html): failed to open stream: No such file or directory in /home/norejdls/sites/ns-xml/www/lib/ns-php/ns/ui/tab.5.php on line 90

Warning: file_get_contents(documentation/articles/samplesminiappminiapp-cli.php.html): failed to open stream: No such file or directory in /home/norejdls/sites/ns-xml/www/lib/ns-php/ns/ui/tab.5.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /home/norejdls/sites/ns-xml/www/lib/ns-php/ns/ui/tab.5.php:90) in /home/norejdls/sites/ns-xml/www/index.php on line 124
ns-xml project home ~ XSLT documentation
  / program / 2.0 / bashcompletion.html

Table of content

Parameters

Variables

Templates


Details

Parameters

Variables


Default value: __ _bashcompletion

Default value: __ _getoptionname

Default value: __ _appendfsitems

Default value: __ _getfindpermoptions

Templates


Add trailing folder / to all folder results
  1. variableName
    Default value: COMPREPLY
  1. path
  2. optionName
    Default value: option
  3. currentVarName
    Default value: current
  1. optionName
    Default value: option
  2. currentVarName
    Default value: current
  1. optionName
    Default value: option
  2. currentVarName
    Default value: current
  3. root
    Default value: .
  1. optionName
    Default value: option
  2. currentVarName
    Default value: current
  3. root
  1. optionName
    Default value: option
  2. currentVarName
    Default value: current
  3. root

Add path type related restrictions
  1. optionName
    Default value: 'option'
  2. currentVarName
    Default value: 'current'
  3. root
  1. optionName
    Default value: option
  2. currentVarName
    Default value: current
  3. root

declare a subcommand option completion function
  1. subcommand
    Default value: .

The main template Called only if prg:program/prg:name exists
  1. program
    Default value: ..