BB.Dsl.Command (bb v0.2.1)

View Source

A command that can be executed on the robot.

Commands follow the Goal → Feedback → Result pattern, supporting:

  • Arguments with types and defaults
  • State machine integration via allowed_states
  • Configurable timeout
  • A handler module implementing the BB.Command behaviour

Summary

Types

t()

@type t() :: %BB.Dsl.Command{
  __identifier__: any(),
  __spark_metadata__: Spark.Dsl.Entity.spark_meta(),
  allowed_states: [atom()],
  arguments: [BB.Dsl.Command.Argument.t()],
  handler: module(),
  name: atom(),
  timeout: timeout()
}