# `BB.Kino.Command`
[🔗](https://github.com/beam-bots/bb_kino/blob/main/lib/bb/kino/command.ex#L5)

A Kino widget for executing robot commands.

Displays available commands in a tab view with:
- Dynamic form for each command's arguments
- Execute button with loading state
- Result/error display

## Usage

    BB.Kino.Command.new(MyRobot)

The widget automatically:
- Discovers commands from the robot's DSL definition
- Generates form inputs based on argument types
- Executes commands via `BB.Robot.Runtime.execute/3`
- Displays results or errors

# `new`

```elixir
@spec new(module()) :: Kino.JS.Live.t()
```

Creates a new command widget for the given robot.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
