towhee.command.execute.ExecuteCommand

class towhee.command.execute.ExecuteCommand(args)[source]

Bases: object

Implementation for subcmd towhee run

Methods

install

save_result

Save the results to local output file.

__call__()[source]

Call self as a function.

__init__(args) None[source]
static save_result(output: Union[str, Path], res: Any) None[source]

Save the results to local output file.

Parameters:
  • output (str | Path) – The path that you are trying to save.

  • res (Any) – The result with any format.