Constructs a CLIView instance by parsing the provided command-line arguments.
This constructor validates and extracts the input storage file path, content type, output destination, and query filters from the
provided CommandLine arguments.
Parameters:
arguments - The CommandLine object containing the parsed arguments.
Throws:
MusialException - If an error occurs while parsing the arguments.
Method Details
options
public staticorg.apache.commons.cli.Optionsoptions()
Defines the command-line options for the view task.
The options include:
-I, --storage: Path to the input storage file (required).
-C, --content: The content type to view (FEATURES, SAMPLES, VARIANTS) (required).
-q, --query: One or more identifiers or genomic ranges to query (optional).
-o, --output: Path to the output file or a special value ("print" or "stdout") (optional).
Returns:
An Options object containing the defined CLI options.