Help Command
This guide explains how to use the DeepLint help system to get information about available commands and options.
Overview
DeepLint provides a comprehensive help system that allows you to:
View a list of all available commands
Get detailed information about specific commands
See examples of how to use each command
Understand command options and their default values
Basic Usage
To display general help information, use the help
command:
This will display:
A list of all available commands with descriptions
Default command options
Global options that apply to all commands
Examples of common usage patterns
Command-Specific Help
To get detailed help for a specific command, use:
For example, to get help for the init
command:
This will display:
Command description
Usage information
Available options with descriptions and default values
Command aliases
Examples of how to use the command
You can also get help for a command by using the --help
flag with the command:
Default Command Help
DeepLint's default command runs when you don't specify a command (just deeplint
). To get help for the default command:
This will show you all the options available for the default command, such as:
Help Command Aliases
The help command has the following aliases:
h
?
You can use these aliases instead of help
:
Examples
Here are some examples of using the help command:
Displays a list of all available commands and general usage information.
Understanding Help Output
The help output is organized into sections:
USAGE
Shows the command syntax:
OPTIONS
Lists all available options for the command:
Each option includes:
The option name and any aliases
A description of what the option does
The default value (if applicable)
ALIASES
Lists alternative names for the command:
EXAMPLES
Provides practical examples of using the command:
Next Steps
Now that you understand how to use the help system, you can:
Explore the available commands using
deeplint help
Learn about specific commands using
deeplint help <command>
Understand the options for the default command using
deeplint help default
Last updated