Spm

spm.flash_firmware

Flashes new SPM firmware to ATtiny.


spm.help

Shows this help information.


spm.manage

Runtime management of the underlying service instance.

SUPPORTED COMMANDS

  • hook list|call <name> [argument]... [<key>=<value>]...
  • worker list|show|start|pause|resume|kill <name>
  • run <key>=<value>...

EXAMPLES

  • spm.manage hook list
  • spm.manage hook call query_handler status
  • spm.manage worker list *
  • spm.manage worker show *
  • spm.manage worker start *
  • spm.manage worker pause *
  • spm.manage worker resume *
  • spm.manage worker kill *
  • spm.manage run handler="query" args="[\"status\"]"

spm.query

Queries a given SPM command.

ARGUMENTS

  • cmd (str): The SPM command to query.