info
CLI module for displaying configuration and environment information.
This module defines the InfoCommand class, which handles the info subcommand
of the Merlin CLI. The info command is intended to display detailed information
about the current Merlin configuration, Python environment, and other diagnostic
data useful for debugging or verifying setup.
InfoCommand
Bases: CommandEntryPoint
Handles info CLI command for viewing information about server connections.
Methods:
| Name | Description |
|---|---|
add_parser |
Adds the |
process_command |
Processes the CLI input and dispatches the appropriate action. |
Source code in merlin/cli/commands/info.py
add_parser(subparsers)
Add the info command parser to the CLI argument parser.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
subparsers
|
ArgumentParser
|
The subparsers object to which the |
required |
Source code in merlin/cli/commands/info.py
process_command(args)
CLI command to print merlin configuration info.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
args
|
Namespace
|
Parsed CLI arguments. |
required |