File tree Expand file tree Collapse file tree 1 file changed +37
-5
lines changed Expand file tree Collapse file tree 1 file changed +37
-5
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,48 @@ It implements all functions provided by web version of Arduino Create.
10
10
. `git clone` this repository into a folder of your choice
11
11
. Add '/path/to/arduino-cli/folder' to your PATH environment variable
12
12
. Reload shell configuration or reboot
13
- And you're done, now let's see how to use the CLI.
13
+
14
+
15
+ == Compiling
16
+ you have two ways:
17
+
18
+ .> By running the go main file.
19
+ [source, bash]
20
+ ----
21
+ $ go run main.go ARGS
22
+ ----
23
+
24
+ .> By compiling then running the go program.
25
+ [source, bash]
26
+ ----
27
+ $ go build -o arduino
28
+ $ ./arduino ARGS
29
+ ----
30
+
31
+ If you want autocompletion and manpages you have to compile and execute (second way)
32
+
33
+ And you're done, now let's see how to use the CLI.
14
34
15
35
== Usage : An example
16
36
17
- A general call is `arduino [COMMAND] [options]`
18
- To see the full list of commands, call `arduino help [COMMAND]`, arduino [COMMAND] -h` or `arduino [COMMAND] --help`
37
+ A general call is
38
+ [source, bash]
39
+ ----
40
+ $ arduino [COMMAND] [options]
41
+ ----
42
+
43
+ To see the full list of commands, call one of the following:
44
+ [source, bash]
45
+ ----
46
+ $ arduino help [COMMAND]
47
+ $ arduino [COMMAND] -h
48
+ $ arduino [COMMAND] --help
49
+ ----
19
50
20
- output from help command:
51
+ Here is the output from help command `arduino help` :
21
52
[source, bash]
22
53
----
54
+ $ arduino help
23
55
Arduino Create Command Line Interface (arduino-cli)
24
56
25
57
Usage:
42
74
Use "arduino [command] --help" for more information about a command.
43
75
----
44
76
45
- == Contribution
77
+ == Contributing
46
78
47
79
To contribute to this project:
48
80
You can’t perform that action at this time.
0 commit comments