ilife5 / life

life is a beautiful che~
4 stars 5 forks source link

cli options name #33

Open ilife5 opened 9 years ago

ilife5 commented 9 years ago

Git

SYNOPSIS
       git [--version] [--help] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
OPTIONS
       --version
           Prints the Git suite version that the git program came from.

       --help
           Prints the synopsis and a list of the most commonly used commands. If the option --all or -a is given then all available commands are printed. If a Git
           command is named this option will bring up the manual page for that command.

           Other options are available to control how the manual page is displayed. See git-help(1) for more information, because git --help ...  is converted
           internally into git help ....

       -c <name>=<value>
           Pass a configuration parameter to the command. The value given will override values from configuration files. The <name> is expected in the same format
           as listed by git config (subkeys separated by dots).

       --exec-path[=<path>]
           Path to wherever your core Git programs are installed. This can also be controlled by setting the GIT_EXEC_PATH environment variable. If no path is
           given, git will print the current setting and then exit.

       --html-path
           Print the path, without trailing slash, where Git's HTML documentation is installed and exit.

       --man-path
           Print the manpath (see man(1)) for the man pages for this version of Git and exit.

       --info-path
           Print the path where the Info files documenting this version of Git are installed and exit.

       -p, --paginate
           Pipe all output into less (or if set, $PAGER) if standard output is a terminal. This overrides the pager.<cmd> configuration options (see the
           "Configuration Mechanism" section below).

       --no-pager
           Do not pipe Git output into a pager.

       --git-dir=<path>
           Set the path to the repository. This can also be controlled by setting the GIT_DIR environment variable. It can be an absolute path or relative path to
           current working directory.
       --work-tree=<path>
           Set the path to the working tree. It can be an absolute path or a path relative to the current working directory. This can also be controlled by
           setting the GIT_WORK_TREE environment variable and the core.worktree configuration variable (see core.worktree in git-config(1) for a more detailed
           discussion).

       --namespace=<path>
           Set the Git namespace. See gitnamespaces(7) for more details. Equivalent to setting the GIT_NAMESPACE environment variable.

       --bare
           Treat the repository as a bare repository. If GIT_DIR environment is not set, it is set to the current working directory.

       --no-replace-objects
           Do not use replacement refs to replace Git objects. See git-replace(1) for more information.

       --literal-pathspecs
           Treat pathspecs literally, rather than as glob patterns. This is equivalent to setting the GIT_LITERAL_PATHSPECS environment variable to 1.
ilife5 commented 9 years ago

Npm config

-v: --version

-h, -?, --help, -H: --usage

-s, --silent: --loglevel silent

-q, --quiet: --loglevel warn

-d: --loglevel info

-dd, --verbose: --loglevel verbose

-ddd: --loglevel silly

-g: --global

-C: --prefix

-l: --long

-m: --message

-p, --porcelain: --parseable

-reg: --registry

-f: --force

-desc: --description

-S: --save

-D: --save-dev

-O: --save-optional

-B: --save-bundle

-E: --save-exact

-y: --yes

-n: --yes false
ilife5 commented 9 years ago

options lists for Alphabet

b

-B: --save-bundle(npm config)

c

-C: --prefix(npm config)

d

-d: --loglevel info(npm config)

-d remove whole directories(git clean)

-dd, --verbose: --loglevel verbose(npm config)

-ddd: --loglevel silly(npm config)

-D: --save-dev(npm config)

e

-e, --exclude add to ignore rules(git clean)

f

-f, --force force(npm config, git clean)

g

-g: --global (npm config, git clean)

h

-h, -?, --help, -H: --usage (npm config, git)

i

-i, --interactive interactive cleaning (git clean)

j

k

l

-l: --long (npm config)

m

-m: --message(npm config)

n

-n, --dry-run(git clean)

o

-O: --save-optional(npm config)

p

-p, --porcelain: --parseable(npm config)

q

-q, --quiet: --loglevel warn (npm config, git clean)

r

-reg: --registry (npm clean)

s

-s, --silent: --loglevel silent(npm clean)

t

u

v

-v: --version (npm config)

w

x

-x remove ignored files, too(git clean) -X remove only ignored files(git clean)

y

-y: --yes (npm config)

z