You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-8Lines changed: 2 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -36,16 +36,10 @@ Anyone can comment on issues and submit reviews for pull requests. In order to b
36
36
- The project tries to follow the following grammar for the commands:
37
37
38
38
```bash
39
-
clusteradm <verb> [<noun>]
39
+
clusteradm <cmd> [subcmd] [flags]
40
40
```
41
41
42
-
- A number of verbs are already defined in [verbs](pkg/cmd/verbs/verbs.go), if you would like to add a new verb or noun, please contact the [OWNERS](OWNERS).
43
-
44
-
- The noun represents the object on which the verb applies.
45
-
46
-
- Each pair (verb/[noum]) has its own package.
47
-
48
-
- Inside the package, the code is split in 3 files: The [cmd.go](pkg/cmd/version/cmd.go) which creates the cobra command, the [options.go](pkg/cmd/version/options.go) which defines the different option parameters for the command and the the [exec.go](pkg/cmd/version/exec.go) which contains the code to execute the command.
42
+
- Each cmd/subcmd are in a package, the code is split in 3 files: The [cmd.go](pkg/cmd/version/cmd.go) which creates the cobra command, the [options.go](pkg/cmd/version/options.go) which defines the different option parameters for the command and the the [exec.go](pkg/cmd/version/exec.go) which contains the code to execute the command.
0 commit comments