pyinfra.api.command module

class pyinfra.api.command.FileDownloadCommand(src, dest, **kwargs)

Bases: pyinfra.api.command.PyinfraCommand

execute(state, host, executor_kwargs)
class pyinfra.api.command.FileUploadCommand(src, dest, **kwargs)

Bases: pyinfra.api.command.PyinfraCommand

execute(state, host, executor_kwargs)
class pyinfra.api.command.FunctionCommand(function, args, func_kwargs, **kwargs)

Bases: pyinfra.api.command.PyinfraCommand

execute(state, host, executor_kwargs)
class pyinfra.api.command.MaskString

Bases: str

class pyinfra.api.command.PyinfraCommand(*args, **kwargs)

Bases: object

execute(state, host, executor_kwargs)
class pyinfra.api.command.QuoteString(obj)

Bases: object

class pyinfra.api.command.RsyncCommand(src, dest, flags, **kwargs)

Bases: pyinfra.api.command.PyinfraCommand

execute(state, host, executor_kwargs)
class pyinfra.api.command.StringCommand(*bits, **kwargs)

Bases: pyinfra.api.command.PyinfraCommand

execute(state, host, executor_kwargs)
get_masked_value()
get_raw_value()