ManualArgs

class tools.manual.cli.ManualArgs(subparser: _SubParsersAction | None, command: str, description: str = 'default')

Bases: FaceSwapArgs

Generate the command line options for the Manual Editor Tool.

Methods Summary

get_argument_list()

Generate the command line argument list for the Manual Tool.

get_info()

Obtain the information about what the Manual Tool does.

get_optional_arguments()

Returns the optional argument list for the current command.

Methods Documentation

Parameters:
  • subparser (_SubParsersAction | None)

  • command (str)

  • description (str)

static get_argument_list()

Generate the command line argument list for the Manual Tool.

static get_info()

Obtain the information about what the Manual Tool does.

static get_optional_arguments() list[dict[str, Any]]

Returns the optional argument list for the current command.

The optional arguments list is not always required, but is used when there are shared options between multiple commands (e.g. convert and extract). Only override if required.

Returns:

The list of optional command line options for the given command

Return type:

list

static get_argument_list()

Generate the command line argument list for the Manual Tool.

static get_info()

Obtain the information about what the Manual Tool does.