File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Commands
2
+
3
+ ## ci
4
+ ` <binary> ci --directory="path/to/dir" --arguments="--ignore-scripts, --other-flag" `
5
+
6
+ ## run
7
+ ` <binary> run --directory="path/to/dir" --scripts="script1, script2" `
8
+
9
+ ## pack
10
+ ` <binary> pack --directory="path/to/dir" `
11
+
12
+ ## publish
13
+ ` <binary> publish --directory="path/to/dir" `
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func ciCmd(check func(error)) *cobra.Command {
28
28
c := & cobra.Command {
29
29
Use : "ci" ,
30
30
Short : "Run ci command" ,
31
- Long : `Run ci command to install dependencies of a node project.` ,
31
+ Long : `Run ci command to install dependencies of a node project. Example: ./binary ci --arguments="--ignore-scripts, --other-flag" ` ,
32
32
33
33
Run : func (cmd * cobra.Command , args []string ) {
34
34
fmt .Println (ciArguments )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func runCmd(check func(error)) *cobra.Command {
28
28
c := & cobra.Command {
29
29
Use : "run" ,
30
30
Short : "Run scripts" ,
31
- Long : `Run scripts.` ,
31
+ Long : `Run scripts. Example: ./binary run --scripts="script1, script2" ` ,
32
32
33
33
Run : func (cmd * cobra.Command , args []string ) {
34
34
fmt .Println (runScripts )
You can’t perform that action at this time.
0 commit comments