Skip to content

Commit

Permalink
Reorganize cli docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
erik committed Jan 5, 2019
1 parent bde53bb commit 3f0eaf9
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions squabble/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,24 @@
squabble (-h | --help)
Arguments:
PATHS Paths to check. If given a directory, will
recursively traverse the path and lint all files ending
in `.sql` [default: -].
PATHS Paths to check. If given a directory, will recursively traverse the
path and lint all files ending in `.sql` [default: -].
Commands:
Options:
-c --config=PATH Path to configuration file
-e --explain=CODE Show explanation of a rule's message code.
-h --help Show this screen
-p --preset=PRESET Start with a base preset rule configuration
-P --list-presets List the available preset configurations
--reporter=REPORTER Use REPORTER for output rather than one named in config.
-r --show-rule=RULE Show detailed information about RULE
-R --list-rules Print out information about all available rules
-V --verbose Turn on debug level logging
-v --version Show version information
--list-presets List the available preset configurations.
--list-rules Print out information about all available rules.
--show-rule=RULE Show detailed information about RULE.
General Options:
-c --config=PATH Path to configuration file.
-h --help Show this screen.
-p --preset=PRESET Start with a base preset rule configuration.
-r --reporter=REPORTER Use REPORTER for output rather than one in config.
-V --verbose Turn on debug level logging.
-v --version Show version information.
"""

import glob
Expand Down

0 comments on commit 3f0eaf9

Please sign in to comment.