Skip to content
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

Document missing command: "balena device pin" #2613

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/balena-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ are encouraged to regularly update the balena CLI to the latest version.
- [device restart <uuid>](#device-restart-uuid)
- [device rm <uuid(s)>](#device-rm-uuid-s)
- [device shutdown <uuid>](#device-shutdown-uuid)
- [device pin <uuid> [releaseToPinTo]](#device-pin-uuid-releasetopinto)

- Releases

Expand Down Expand Up @@ -1153,6 +1154,22 @@ the uuid of the device to shutdown

force action if the update lock is set

## device pin <uuid> [releaseToPinTo]
Pin a device to a release.

Examples:

$ balena device pin 670d7df 6d4ee441f329d3e74808d866da51540a
### Arguments

#### UUID

the uuid of the device to pin

#### releaseToPinTo

the commit of the release for the device to get pinned to

# Releases

## releases <fleet>
Expand Down