diff --git a/doc/cli.markdown b/doc/cli.markdown index c5dfd98b..9adf84e2 100644 --- a/doc/cli.markdown +++ b/doc/cli.markdown @@ -33,10 +33,15 @@ Now you have access to all the commands referenced below. - [devices](#devices) - [device <uuid>](#device-60-uuid-62-) + - [devices supported](#devices-supported) - [device register <application>](#device-register-60-application-62-) - [device rm <uuid>](#device-rm-60-uuid-62-) - [device identify <uuid>](#device-identify-60-uuid-62-) - [device reboot <uuid>](#device-reboot-60-uuid-62-) + - [device public-url enable <uuid>](#device-public-url-enable-60-uuid-62-) + - [device public-url disable <uuid>](#device-public-url-disable-60-uuid-62-) + - [device public-url <uuid>](#device-public-url-60-uuid-62-) + - [device public-url status <uuid>](#device-public-url-status-60-uuid-62-) - [device rename <uuid> [newName]](#device-rename-60-uuid-62-newname-) - [device move <uuid>](#device-move-60-uuid-62-) - [device init](#device-init) @@ -276,6 +281,14 @@ Examples: $ resin device 7cf02a6 +## devices supported + +Use this command to get the list of all supported devices + +Examples: + + $ resin devices supported + ## device register <application> Use this command to register a device to an application. @@ -326,6 +339,38 @@ Examples: $ resin device reboot 23c73a1 +## device public-url enable <uuid> + +Use this command to enable public URL for a device + +Examples: + + $ resin device public-url enable 23c73a1 + +## device public-url disable <uuid> + +Use this command to disable public URL for a device + +Examples: + + $ resin device public-url disable 23c73a1 + +## device public-url <uuid> + +Use this command to get the public URL of a device + +Examples: + + $ resin device public-url 23c73a1 + +## device public-url status <uuid> + +Use this command to determine if public URL is enabled for a device + +Examples: + + $ resin device public-url status 23c73a1 + ## device rename <uuid> [newName] Use this command to rename a device.