@@ -68,7 +68,7 @@ To manage Apps, we use the `app` command.
6868
6969To create an app, we can use:
7070
71- ``` sh
71+ ```
7272arduino-app-cli app new "test"
7373```
7474
@@ -82,13 +82,13 @@ If you are accessing the board via `adb`, you can **pull** and **push** the file
8282
8383To pull the file, use:
8484
85- ``` sh
85+ ```
8686adb pull /home/arduino/ArduinoApps /path/to/localfolder
8787```
8888
8989And to push it, use:
9090
91- ``` sh
91+ ```
9292adb push /path/to/localfolder /home/arduino/ArduinoApps
9393```
9494
@@ -98,23 +98,23 @@ adb push /path/to/localfolder /home/arduino/ArduinoApps
9898
9999Once an App is created and edited, it can be launched through the following command:
100100
101- ``` sh
101+ ```
102102arduino-app-cli app start "/home/arduino/ArduinoApps/test"
103103```
104104
105105This will launch the App on your UNO Q board.
106106
107107To stop the App, use:
108108
109- ``` sh
109+ ```
110110arduino-app-cli app stop "/home/arduino/ArduinoApps/test"
111111```
112112
113113### Read App Logs
114114
115115To monitor the logs of a running App, use the ` logs ` command:
116116
117- ``` sh
117+ ```
118118arduino-app-cli app logs /home/arduino/ArduinoApps/test --all
119119```
120120
@@ -127,7 +127,7 @@ This will list the logs of the App:
127127
128128To run built-in examples and Apps that we create, we can use the ` user ` and ` examples ` shortcut (instead of specifying path).
129129
130- ``` sh
130+ ```
131131# run your own app
132132arduino-app-cli app start user:my-app
133133
@@ -139,7 +139,7 @@ arduino-app-cli app start examples:blink
139139
140140To list available Apps, use the ` app list ` command.
141141
142- ``` sh
142+ ```
143143arduino-app-cli app list
144144```
145145
@@ -151,7 +151,7 @@ This will list all available Apps (including examples), and their status:
151151
152152To set a board name using the ` arduino-app-cli ` , we can use the ` set-name ` command.
153153
154- ``` sh
154+ ```
155155arduino-app-cli board set-name "my-board"
156156```
157157
@@ -163,22 +163,22 @@ The `system` command allows you to manage system configurations and updates on y
163163
164164To check for updates, run:
165165
166- ``` sh
166+ ```
167167arduino-app-cli system update
168168```
169169This will prompt you to install any available updates.
170170
171171To enable or disable the network mode, use:
172172
173- ``` sh
173+ ```
174174arduino-app-cli system network enable/disable
175175```
176176
177177Network mode will enable SSH and allows clients to connect to the board over a local network.
178178
179179Finally, you can gain back some storage space by cleaning up unused containers and images by running:
180180
181- ``` sh
181+ ```
182182arduino-app-cli system cleanup
183183```
184184
@@ -188,7 +188,7 @@ Currently, it is only possible to list available Bricks and specific details for
188188
189189This is done by running:
190190
191- ``` sh
191+ ```
192192# List out Bricks installed on the board
193193arduino-app-cli brick list
194194# Details for a specific Brick
0 commit comments