zuke.tools.cmd

← Python API reference

@zuke/cmd 1.0.1: @zuke/cmd — generic command execution for Zuke builds: the fallback for tools that have no dedicated wrapper package.

Symbols

#

CmdSettings

class
class CmdSettings(ToolSettings)

Settings for a generic command: the tool name plus raw arguments.

#

CmdTasks

class
class CmdTasks

Task functions for running arbitrary tools.

  • static async exec(ctx: ServiceContext, tool: str, configure: Callable[[CmdSettings], CmdSettings] | None=None) -> ExecResult

    Run tool with the configured settings.