panel.command.convert module#
- class panel.command.convert.Convert(parser: ArgumentParser)[source]#
Bases:
Subcommand
Subcommand to convert Panel application to some build target, e.g. pyodide or pyscript.
Methods
invoke
(args)Takes over main program flow to perform the subcommand.
- invoke(args: Namespace) None [source]#
Takes over main program flow to perform the subcommand.
This method must be implemented by subclasses. subclassed overwritten methods return different types: bool: Build None: FileOutput (subclassed by HTML, SVG and JSON. PNG overwrites FileOutput.invoke method), Info, Init, Sampledata, Secret, Serve, Static
- Args:
args (argparse.Namespace) : command line arguments for the subcommand to parse
- Raises:
NotImplementedError
- name: ClassVar[str] = 'convert'#
name for this subcommand