pestifer.subcommands.new_system module

The new-system subcommand. Generates a minimal or full system configuration script for a given PDB or UniProt ID.

class pestifer.subcommands.new_system.NewSystemSubcommand(name: str = 'new-system', aliases: list = <factory>, log_file: str = 'pestifer_diagnostics.log', short_help: str = 'create a new system script from scratch', long_help: str = 'Generate a new system script with a basic template.', func_returns_type: type = <class 'bool'>, parser: argparse.ArgumentParser = None)[source]

Bases: Subcommand

add_subparser(subparsers)[source]

Adds the subcommand parser to the given subparsers. Subclasses declare arguments here, after a super().add_subparser() call.

static func(args: Namespace, **kwargs)[source]

the function that executes the subcommand. Subclasses must implement this method.

long_help: str = 'Generate a new system script with a basic template.'

description

name: str = 'new-system'

subcommand name

short_help: str = 'create a new system script from scratch'

help string