Skip to content

DOCS-4122: Document viam module generate supported resource types #4429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/dev/tools/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,40 @@ viam module download [command options]
If you are writing your module using Python, you must have Python version 3.11 or newer installed on your computer for the `viam module generate` command to work.
{{% /alert %}}

{{% hiddencontent %}}

The `viam module generate` command can generate code for the following resource types:

Components:

- Arm component
- Audio input component
- Base component
- Board component
- Camera component
- Encoder component
- Gantry component
- Generic component
- Gripper component
- Input component
- Motor component
- Movement sensor component
- Pose tracker component
- Power sensor component
- Sensor component
- Servo component

Services:

- Generic service
- MLModel service
- Motion service
- Navigation service
- SLAM service
- Vision service

{{% /hiddencontent %}}

Examples:

```sh {class="command-line" data-prompt="$"}
Expand Down
Loading