Home
last modified time | relevance | path

Searched +full:bash +full:- +full:completion (Results 1 – 25 of 213) sorted by relevance

123456789

/third_party/node/deps/npm/node_modules/dashdash/etc/
Ddashdash.bash_completion.in1 #!/bin/bash
3 # Bash completion generated for '{{name}}' at {{date}}.
6 # https://github.com/trentm/node-dashdash/blob/master/etc/dashdash.bash_completion.in
14 # A generic Bash completion driver script.
16 # This is meant to provide a re-usable chunk of Bash to use for
18 # section with tool-specific info need differ. Features:
20 # - support for short and long opts
21 # - support for knowing which options take arguments
22 # - support for subcommands (e.g. 'git log <TAB>' to show just options for the
24 # - does the right thing with "--" to stop options
[all …]
/third_party/node/deps/npm/node_modules/dashdash/
DCHANGES.md1 # node-dashdash changelog
9 - [issue #30] Change the output used by dashdash's Bash completion support to
11 sorting rules on different Bash/platforms. For example:
13 $ triton -v -p test2 package get <TAB> # before
14 ##-no -tritonpackage- completions-##
16 $ triton -v -p test2 package get <TAB> # after
17 ##-no-completion- -results-##
21 - New `synopsisFromOpt(<option spec>)` function. This will be used by
22 [node-cmdln](https://github.com/trentm/node-cmdln) to put together a synopsis
26 '[ --help | -h ]'
[all …]
DREADME.md8 for updates to node-dashdash.
100 $ node foo.js -h
107 --version Print tool version and exit.
108 -h, --help Print this help and exit.
109 -v, --verbose Verbose output. Use multiple times for more verbose.
110 -f FILE, --file=FILE File to process
112 $ node foo.js -v
118 $ node foo.js --version arg1
124 $ node foo.js -f bar.txt
130 $ node foo.js -vvv --file=blah
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Dshell_completion.dart2 // Use of this source code is governed by a BSD-style license that can be
7 import 'package:completion/completion.dart';
20 … help: 'Causes the given shell completion setup script to be overwritten if it already exists.',
25 final String name = 'bash-completion';
28 final String description = 'Output command line shell completion setup scripts.\n\n'
29 'This command prints the flutter command line completion setup script for Bash and Zsh. To '
35 final List<String> aliases = <String>['zsh-completion'];
40 /// Return null to disable analytics recording of the `bash-completion` command.
47 throwToolExit('Too many arguments given to bash-completion command.', exitCode: 1);
50 if (argResults.rest.isEmpty || argResults.rest.first == '-') {
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Dshell_completion_test.dart2 // Use of this source code is governed by a BSD-style license that can be
26 testUsingContext('generates bash initialization script to stdout', () async {
28 await createTestCommandRunner(command).run(<String>['bash-completion']);
35 testUsingContext('generates bash initialization script to stdout with arg', () async {
37 await createTestCommandRunner(command).run(<String>['bash-completion', '-']);
44 testUsingContext('generates bash initialization script to output file', () async {
46 const String outputFile = 'bash-setup.sh';
48 <String>['bash-completion', outputFile],
59 const String outputFile = 'bash-setup.sh';
63 <String>['bash-completion', outputFile],
[all …]
/third_party/gstreamer/gstreamer/data/
Dmeson.build2 subdir('bash-completion/helpers')
3 install_data('bash-completion/completions/gst-launch-1.0', install_dir : bash_completions_dir)
4 install_data('bash-completion/completions/gst-inspect-1.0', install_dir : bash_completions_dir)
/third_party/node/deps/npm/docs/content/cli-commands/
Dnpm-completion.md1 ---
2 section: cli-commands
3 title: npm-completion
4 description: Tab Completion for npm
5 ---
7 # npm-completion(1)
9 ## Tab Completion for npm
12 ```bash
13 source <(npm completion)
18 Enables tab-completion in all npm commands.
[all …]
/third_party/pulseaudio/
DMakefile.am16 ACLOCAL_AMFLAGS = -I m4
21 .gitlab-ci.yml \
23 git-version-gen \
52 shell-completion/bash/meson.build \
53 shell-completion/zsh/meson.build \
59 src/modules/echo-cancel/meson.build \
69 src/tests/test-daemon.meson.sh \
81 vala/libpulse-mainloop-glib.deps vala/libpulse-mainloop-glib.vapi \
82 vala/libpulse-simple.deps vala/libpulse-simple.vapi
85 pkgconfig_DATA = libpulse.pc libpulse-simple.pc
[all …]
/third_party/node/deps/npm/node_modules/dashdash/lib/
Ddashdash.js2 * dashdash - A light, featureful and explicit option parsing library for
7 var assert = require('assert-plus');
22 // ---- internal support stuff
26 return s.replace(/{{([a-zA-Z]+)}}/g, function (match, key) {
98 * - '-' -> '_': This allow one to use hyphen in option names (common)
99 * but not have to do silly things like `opt["dry-run"]` to access the
103 return name.replace(/-/g, '_');
108 // ---- Option types
132 if (!/^[0-9-]+$/.test(arg) || isNaN(num)) {
142 if (!/^[0-9]+$/.test(arg) || isNaN(num) || num === 0) {
[all …]
/third_party/node/deps/npm/lib/utils/
Dcompletion.sh1 #!/bin/bash
2 ###-begin-npm-completion-###
4 # npm command completion script
6 # Installation: npm completion >> ~/.bashrc (or ~/.zshrc)
7 # Or, maybe: npm completion > /usr/local/etc/bash_completion.d/npm
14 _get_comp_words_by_ref -n = -n @ -n : -w words -i cword
24 npm completion -- "${words[@]}" \
31 complete -o default -F _npm_completion npm
35 compadd -- $(COMP_CWORD=$((CURRENT-1)) \
38 npm completion -- "${words[@]}" \
[all …]
/third_party/typescript/
DREADME.md9-scale JavaScript. TypeScript adds optional types to JavaScript that support tools for large-scale…
17 ```bash
18 npm install -g typescript
23 ```bash
24 npm install -g typescript@next
36 …icrosoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification%20-%20ARCHIVED.docx?raw=…
37 …20Language%20Specification%20-%20ARCHIVED.pdf?raw=true), [md](https://github.com/microsoft/TypeScr…
45 * [TypeScript in 5 minutes](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.h…
46 * [Programming handbook](https://www.typescriptlang.org/docs/handbook/basic-types.html)
51 In order to build the TypeScript compiler, ensure that you have [Git](https://git-scm.com/downloads…
[all …]
/third_party/node/deps/npm/lib/
Dcompletion.js1 module.exports = completion
3 completion.usage = 'source <(npm completion)'
16 var isWindowsShell = require('./utils/is-windows-shell.js')
19 completion.completion = function (opts, cb) { function
22 var fs = require('graceful-fs')
48 function completion (args, cb) { function
50 var e = new Error('npm completion supported only in MINGW / Git bash on Windows')
52 e.errno = require('constants').ENOTSUP // eslint-disable-line node/no-deprecated-api
81 while (partialWord.substr(0, i) !== partialLine.substr(-1 * i) && i > 0) {
82 i--
[all …]
/third_party/gstreamer/gstreamer/
Dmeson_options.txt6 option('ptp-helper-setuid-user', type : 'string',
7 description : 'User to switch to when installing gst-ptp-helper setuid root')
8 option('ptp-helper-setuid-group', type : 'string',
9 description : 'Group to switch to when installing gst-ptp-helper setuid root')
10 option('ptp-helper-permissions', type : 'combo',
11 choices : ['none', 'setuid-root', 'capabilities', 'auto'], value : 'auto')
12 option('option-parsing', type : 'boolean', value : true,
15 option('memory-alignment', type: 'combo',
24 option('bash-completion', type : 'feature', value : 'auto', description : 'Install bash completion feature
32 …e : 'feature', value : 'auto', yield : true, description : 'Generate gobject-introspection binding…
[all …]
/third_party/python/Doc/tutorial/
Dinteractive.rst1 .. _tut-interacting:
9 the GNU Bash shell. This is implemented using the `GNU Readline`_ library,
14 .. _tut-keybindings:
16 Tab Completion and History Editing
19 Completion of variable and module names is
20 :ref:`automatically enabled <rlcompleter-config>` at interpreter startup so
21 that the :kbd:`Tab` key invokes the completion function; it looks at
26 application-defined code if an object with a :meth:`__getattr__` method
33 .. _tut-commentary:
41 token is required next). The completion mechanism might use the interpreter's
[all …]
/third_party/gstreamer/gstreamer/data/bash-completion/completions/
Dgst-launch-1.04 # bash/zsh completion support for gst-launch
19 # Boston, MA 02110-1301, USA.
23 if [[ ! -f $_GST_HELPERDIR/gst ]]; then
24 _GST_HELPERDIR="$(pkg-config --variable=bashhelpersdir gstreamer-1.0)"
34 _gst_all_arguments gst-launch-1.0
39 COMPREPLY=( $(compgen -W "$($_GST_HELPER --compatible-with $previous_element)" -- $cur) )
44 COMPREPLY=( $(compgen -W "$($_GST_HELPER -l)" -- $cur) )
49 COMPREPLY=( $(compgen -W "$($_GST_HELPER --element-properties $previous_element)" -- $cur) )
52 _gstlaunch___exclude_ () { _gst_mandatory_argument gst-launch-1.0; }
58 while [[ $i -ne $COMP_CWORD ]];
[all …]
/third_party/node/deps/npm/node_modules/yargs/lib/
Dcompletion.js4 // add bash completions to your
5 // yargs-powered applications.
6 module.exports = function completion (yargs, usage, command) { function
8 completionKey: 'get-yargs-completions'
11 const zshShell = (process.env.SHELL && process.env.SHELL.indexOf('zsh') !== -1) ||
12 (process.env.ZSH_NAME && process.env.ZSH_NAME.indexOf('zsh') !== -1)
13 // get a list of completion commands.
17 const current = args.length ? args[args.length - 1] : ''
22 // a custom completion function can be provided
23 // to completion().
[all …]
/third_party/gstreamer/gstreamer/data/bash-completion/helpers/
Dgst.in4 # bash/zsh completion support for common gstreamer options
19 # Boston, MA 02110-1301, USA.
22 if [[ ! -x "$_GST_HELPER" ]]
24 … helper="$(pkg-config --variable=helpersdir gstreamer-@GST_API_VERSION@)/gst-completion-helper"
26 if [ -x "$helper" ]
40 …Y=( $(compgen -W "$($1 --help-all | grep "^ -" | grep -oh '[[:graph:]]*--[[:graph:]]*\|-[[:alpha:…
46 if [[ -z $__app ]]
48 __app=gst-launch-1.0
/third_party/mindspore/scripts/docker/mindspore-cpu/0.2.0-alpha/
DDockerfile6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
11 && DEBIAN_FRONTEND=noninteractive apt install -y \
15 xz-utils \
16 net-tools \
17 openssh-client \
23 bash-completion
26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
31 libgmp-dev \
38 # Set bash
39 RUN echo "dash dash/sh boolean false" | debconf-set-selections
[all …]
/third_party/mindspore/scripts/docker/mindspore-cpu/0.5.0-beta/
DDockerfile6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
11 && DEBIAN_FRONTEND=noninteractive apt install -y \
15 xz-utils \
16 net-tools \
17 openssh-client \
23 bash-completion
26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
31 libgmp-dev \
38 # Set bash
39 RUN echo "dash dash/sh boolean false" | debconf-set-selections
[all …]
/third_party/mindspore/scripts/docker/mindspore-cpu/0.6.0-beta/
DDockerfile6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
11 && DEBIAN_FRONTEND=noninteractive apt install -y \
15 xz-utils \
16 net-tools \
17 openssh-client \
23 bash-completion
26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
31 libgmp-dev \
38 # Set bash
39 RUN echo "dash dash/sh boolean false" | debconf-set-selections
[all …]
/third_party/mindspore/scripts/docker/mindspore-cpu/0.7.0-beta/
DDockerfile6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
11 && DEBIAN_FRONTEND=noninteractive apt install -y \
15 xz-utils \
16 net-tools \
17 openssh-client \
23 bash-completion
26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
31 libgmp-dev \
38 # Set bash
39 RUN echo "dash dash/sh boolean false" | debconf-set-selections
[all …]
/third_party/mindspore/scripts/docker/mindspore-cpu/0.3.0-alpha/
DDockerfile6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
11 && DEBIAN_FRONTEND=noninteractive apt install -y \
15 xz-utils \
16 net-tools \
17 openssh-client \
23 bash-completion
26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
31 libgmp-dev \
38 # Set bash
39 RUN echo "dash dash/sh boolean false" | debconf-set-selections
[all …]
/third_party/mindspore/scripts/docker/mindspore-cpu/1.2.1/
DDockerfile6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
11 && DEBIAN_FRONTEND=noninteractive apt install -y \
15 xz-utils \
16 net-tools \
17 openssh-client \
23 bash-completion
26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
31 libgmp-dev \
39 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
40 libnuma-dev
[all …]
/third_party/mindspore/scripts/docker/mindspore-cpu/1.1.0/
DDockerfile6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
11 && DEBIAN_FRONTEND=noninteractive apt install -y \
15 xz-utils \
16 net-tools \
17 openssh-client \
23 bash-completion
26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
31 libgmp-dev \
39 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
40 libnuma-dev
[all …]
/third_party/mindspore/scripts/docker/mindspore-cpu/1.2.0/
DDockerfile6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
11 && DEBIAN_FRONTEND=noninteractive apt install -y \
15 xz-utils \
16 net-tools \
17 openssh-client \
23 bash-completion
26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
31 libgmp-dev \
39 RUN DEBIAN_FRONTEND=noninteractive apt install -y \
40 libnuma-dev
[all …]

123456789