Skip to content

Commit 7f99101

Browse files
committed
Update apps-lab-cli.md
1 parent 8b208af commit 7f99101

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

content/software/app-lab/tutorials/03.cli/apps-lab-cli.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To manage Apps, we use the `app` command.
6868

6969
To create an app, we can use:
7070

71-
```sh
71+
```
7272
arduino-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

8383
To pull the file, use:
8484

85-
```sh
85+
```
8686
adb pull /home/arduino/ArduinoApps /path/to/localfolder
8787
```
8888

8989
And to push it, use:
9090

91-
```sh
91+
```
9292
adb push /path/to/localfolder /home/arduino/ArduinoApps
9393
```
9494

@@ -98,23 +98,23 @@ adb push /path/to/localfolder /home/arduino/ArduinoApps
9898

9999
Once an App is created and edited, it can be launched through the following command:
100100

101-
```sh
101+
```
102102
arduino-app-cli app start "/home/arduino/ArduinoApps/test"
103103
```
104104

105105
This will launch the App on your UNO Q board.
106106

107107
To stop the App, use:
108108

109-
```sh
109+
```
110110
arduino-app-cli app stop "/home/arduino/ArduinoApps/test"
111111
```
112112

113113
### Read App Logs
114114

115115
To monitor the logs of a running App, use the `logs` command:
116116

117-
```sh
117+
```
118118
arduino-app-cli app logs /home/arduino/ArduinoApps/test --all
119119
```
120120

@@ -127,7 +127,7 @@ This will list the logs of the App:
127127

128128
To 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
132132
arduino-app-cli app start user:my-app
133133
@@ -139,7 +139,7 @@ arduino-app-cli app start examples:blink
139139

140140
To list available Apps, use the `app list` command.
141141

142-
```sh
142+
```
143143
arduino-app-cli app list
144144
```
145145

@@ -151,7 +151,7 @@ This will list all available Apps (including examples), and their status:
151151

152152
To set a board name using the `arduino-app-cli`, we can use the `set-name` command.
153153

154-
```sh
154+
```
155155
arduino-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

164164
To check for updates, run:
165165

166-
```sh
166+
```
167167
arduino-app-cli system update
168168
```
169169
This will prompt you to install any available updates.
170170

171171
To enable or disable the network mode, use:
172172

173-
```sh
173+
```
174174
arduino-app-cli system network enable/disable
175175
```
176176

177177
Network mode will enable SSH and allows clients to connect to the board over a local network.
178178

179179
Finally, you can gain back some storage space by cleaning up unused containers and images by running:
180180

181-
```sh
181+
```
182182
arduino-app-cli system cleanup
183183
```
184184

@@ -188,7 +188,7 @@ Currently, it is only possible to list available Bricks and specific details for
188188

189189
This is done by running:
190190

191-
```sh
191+
```
192192
# List out Bricks installed on the board
193193
arduino-app-cli brick list
194194
# Details for a specific Brick

0 commit comments

Comments
 (0)