6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# File 'lib/standard/runners/help.rb', line 6
def call(config)
puts " Usage: standardrb [--fix] [--lsp] [-vh] [--format <name>] [--] [FILE]...\n\n Options:\n\n --fix Automatically fix failures where possible\n --no-fix Do not automatically fix failures\n --format <name> Format output with any RuboCop formatter (e.g. \"json\")\n --generate-todo Create a .standard_todo.yml that lists all the files that contain errors\n --lsp Start a LSP server listening on STDIN\n -v, --version Print the version of Standard\n -V, --verbose-version Print the version of Standard and its dependencies.\n -h, --help Print this message\n FILE Files to lint [default: ./]\n\n Standard also forwards most CLI arguments to RuboCop. To see them, run:\n\n $ rubocop --help\n\n While Standard only offers a few configuration options, most can be set in\n a `.standard.yml` file. For full documentation, please visit:\n\n https://github.com/testdouble/standard\n\n Having trouble? Here's some diagnostic information:\n\n Ruby version: \#{RUBY_VERSION}\n Current directory: \#{Dir.pwd}\n RuboCop version: \#{RuboCop::Version.version}\n Standard version: \#{Standard::VERSION}\n Standard config file: \#{FileFinder.new.call(\".standard.yml\", Dir.pwd) || \"[No file found]\"}\n\n Please report any problems (and include the above information) at the URL below:\n\n https://github.com/testdouble/standard/issues/new\n\n MESSAGE\nend\n"
|