fastvideo.v1.entrypoints.cli.generate#

Module Contents#

Classes#

GenerateSubcommand

The generate subcommand for the FastVideo CLI

Functions#

cmd_init

update_config_from_args

Update configuration object from arguments dictionary.

Data#

API#

class fastvideo.v1.entrypoints.cli.generate.GenerateSubcommand[source]#

Bases: fastvideo.v1.entrypoints.cli.cli_types.CLISubcommand

The generate subcommand for the FastVideo CLI

Initialization

cmd(args: argparse.Namespace) None[source]#
subparser_init(subparsers: argparse._SubParsersAction) fastvideo.v1.utils.FlexibleArgumentParser[source]#
validate(args: argparse.Namespace) None[source]#

Validate the arguments for this command

fastvideo.v1.entrypoints.cli.generate.cmd_init() List[fastvideo.v1.entrypoints.cli.cli_types.CLISubcommand][source]#
fastvideo.v1.entrypoints.cli.generate.logger[source]#

β€˜init_logger(…)’

fastvideo.v1.entrypoints.cli.generate.update_config_from_args(config: Any, args_dict: Dict[str, Any], prefix: Optional[str] = None) None[source]#

Update configuration object from arguments dictionary.

Parameters:
  • config – The configuration object to update

  • args_dict – Dictionary containing arguments

  • prefix – Prefix for the configuration parameters in the args_dict. If None, assumes direct attribute mapping without prefix.