pestifer.subcommands.build module

Implementation of the build subcommand for launching system preparations.

class pestifer.subcommands.build.RunSubcommand(name: str = 'build', aliases: list = <factory>, log_file: str = 'pestifer_diagnostics.log', short_help: str = 'prepare a system', long_help: str = 'Prepare a system according to instructions in the config file.', func_returns_type: type = <class 'pestifer.core.controller.Controller'>, 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.

aliases: list

alternative names for this subcommand

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

Run the pestifer build command with the specified configuration file.

func_returns_type

alias of Controller

long_help: str = 'Prepare a system according to instructions in the config file.'

description

name: str = 'build'

subcommand name

short_help: str = 'prepare a system'

help string