You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
viam machines part restart --machine=123 --part=456
1215
1215
1216
+
# tunnel connections to the specified port on a machine part
1217
+
viam machine part tunnel --part=123 --destination-port=1111 --local-port 2222
1218
+
1216
1219
# Copy and a single file to a machine and change the file's name:
1217
1220
viam machine part cp --organization=my_org --location=my_location --machine=my_machine --part=m1-main my_file machine:/home/user/
1218
1221
@@ -1241,7 +1244,7 @@ viam machine part cp --machine=123 --part=123 -r -p machine:my_dir machine:my_fi
1241
1244
|`api-key`| Work with an api-key for your machine |`create` (see [positional arguments: api-key](#positional-arguments-api-key)) |
1242
1245
|`status`| Retrieve machine status for a specified machine | - |
1243
1246
|`logs`| Retrieve logs for a specified machine | - |
1244
-
|`part`| Manage a specified machine part |`status`, `run`, `logs`, `shell`, `restart`, `cp` (see [positional arguments: part](#positional-arguments-part)). To use the `part shell` and `part cp` commands, you must add the [ViamShellDanger fragment](https://app.viam.com/fragment/b511adfa-80ab-4a70-9bd5-fbb14696b17e/json) to your machine. |
1247
+
|`part`| Manage a specified machine part |`status`, `run`, `logs`, `shell`, `restart`, `tunnel`, `cp` (see [positional arguments: part](#positional-arguments-part)). To use the `part shell` and `part cp` commands, you must add the [ViamShellDanger fragment](https://app.viam.com/fragment/b511adfa-80ab-4a70-9bd5-fbb14696b17e/json) to your machine. |
1245
1248
|`--help`| Return help | - |
1246
1249
1247
1250
##### Positional arguments: `api-key`
@@ -1263,6 +1266,7 @@ viam machine part cp --machine=123 --part=123 -r -p machine:my_dir machine:my_fi
1263
1266
|`shell`| Access a machine part securely using a secure shell. To use this feature you must add the [`ViamShellDanger` fragment](https://app.viam.com/fragment/b511adfa-80ab-4a70-9bd5-fbb14696b17e/json) to your machine. |
1264
1267
|`restart`| Restart a machine part. |
1265
1268
|`cp`| Copy files to and from a machine part. |
1269
+
|`tunnel`| Tunnel connections to a specified port on a machine part. |
1266
1270
|`--help`| Return help |
1267
1271
1268
1272
##### Named arguments
@@ -1290,6 +1294,8 @@ viam machine part cp --machine=123 --part=123 -r -p machine:my_dir machine:my_fi
1290
1294
|`--org-id`| The optional organization ID to attach the key to |`api-key`| Optional |
0 commit comments