brightness, n, open, pbcopy, pbpaste, rename, route, rubocop, softwareupdate, timed, where, while, xed, xip: add link (#7831)

This commit is contained in:
git-em
2022-03-01 10:21:17 -03:00
committed by GitHub
parent 80ddce96fe
commit 2ce63b334e
19 changed files with 19 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
# n
> 用于管理多个节点版本的工具。
> 更多信息:<https://github.com/tj/n>.
- 安装给定版本的节点。如果版本已经安装,它将被激活:

View File

@@ -0,0 +1,31 @@
# rubocop
> 格式化 Ruby 文件。
- 检查当前目录中的所有文件(包括子目录):
`rubocop`
- 检查一个或多个指定文件或目录:
`rubocop {{目录 / 文件名}} {{目录 /}}`
- 将输出写入指定文件:
`rubocop --out {{目录 / 文件名}}`
- 查看规则列表(格式化规则):
`rubocop --show-cops`
- 排除格式规则:
`rubocop --except {{规则 1}} {{规则 2}}`
- 只运行指定的规则:
`rubocop --only {{规则 1}} {{规则 2}}`
- 自动更正文件(实验):
`rubocop --auto-correct`

View File

@@ -2,6 +2,7 @@
> 报告所有已知的命令入口。
> 它可以是一个在`PATH`中的可执行文件,一个别名,或者一个 shell 內建命令。
> 更多信息:<https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.
- 报告所有已知命令入口: