浏览代码

Balena: add page (#3422)

Ben Scattergood 5 年之前
父节点
当前提交
8eed43ae1a
共有 1 个文件被更改,包括 24 次插入0 次删除
  1. 24 0
      pages/common/balena.md

+ 24 - 0
pages/common/balena.md

@@ -0,0 +1,24 @@
+# balena
+
+> Interact with the balenaCloud, openBalena and the balena API from the command line.
+> More information: <https://www.balena.io/docs/reference/cli/>.
+
+- Login to the balenaCloud account:
+
+`balena login`
+
+- Create a balenaCloud or openBalena application:
+
+`balena app create {{app_name}}`
+
+- List all balenaCloud or openBalena applications within the account:
+
+`balena apps`
+
+- List all devices associated with the balenaCloud or openBalena account:
+
+`balena devices`
+
+- Flash a balenaOS image to a local drive:
+
+`balena local flash {{path/to/balenaos.img}} --drive {{drive_location}}`