Skip to content

Commit d07121c

Browse files
committed
Update osctrl-cli with new code for tags
1 parent 89384d3 commit d07121c

File tree

39 files changed

+19059
-30370
lines changed

39 files changed

+19059
-30370
lines changed

content/usage/osctrl-cli/tag/_index.md

+43-21
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ USAGE:
1616
osctrl-cli tag command [command options] [arguments...]
1717

1818
COMMANDS:
19-
add, a Add a new tag
20-
edit, e Edit values for an existing tag
21-
delete, d Delete an existing tag
22-
list, l List all tags
23-
show, s Show an existing tag
24-
help, h Shows a list of commands or help for one command
19+
add, a Add a new tag
20+
edit, e Edit values for an existing tag
21+
delete, d Delete an existing tag
22+
list, l List all tags by environment
23+
list-all, L List all tags in osctrl
24+
show, s Show an existing tag
25+
help, h Shows a list of commands or help for one command
2526

2627
OPTIONS:
2728
--help, -h show help
@@ -38,11 +39,13 @@ USAGE:
3839
osctrl-cli tag add [command options] [arguments...]
3940

4041
OPTIONS:
41-
--name value, -n value Tage name to be added
42-
--color value, -c value Tag color to be added
43-
--description value, -d value Tag description to be added
44-
--icon value, -i value Tag icon to be added
45-
--help, -h show help
42+
--name value, -n value Tage name to be used
43+
--env-uuid value, -e value Environment UUID to be used
44+
--icon value, -i value Fontawesome icon to be used (default: "fas fa-tag")
45+
--color value, -c value HTML color to be used. If not provided it will be randomly generated
46+
--description value, -d value Tag description to be used
47+
--tag-type value, -t value, --type value Tag type to be used. It can be 'env', 'uuid', 'platform', 'localname' and 'custom' (default: "custom")
48+
--help, -h show help
4649
```
4750

4851
#### Edit tag
@@ -56,11 +59,13 @@ USAGE:
5659
osctrl-cli tag edit [command options] [arguments...]
5760

5861
OPTIONS:
59-
--name value, -n value Tage name to be edited
60-
--color value, -c value Tag color to be edited
61-
--description value, -d value Tag description to be edited
62-
--icon value, -i value Tag icon to be edited
63-
--help, -h show help
62+
--name value, -n value Tage name to be used
63+
--env-uuid value, -e value Environment UUID to be used
64+
--icon value, -i value Fontawesome icon to be used
65+
--color value, -c value HTML color to be used. If not provided it will be randomly generated
66+
--description value, -d value Tag description to be used
67+
--tag-type value, -t value, --type value Tag type to be used. It can be 'env', 'uuid', 'platform', 'localname' and 'custom'
68+
--help, -h show help
6469
```
6570

6671
#### Delete tag
@@ -74,20 +79,36 @@ USAGE:
7479
osctrl-cli tag delete [command options] [arguments...]
7580

7681
OPTIONS:
77-
--name value, -n value Tag name to be deleted
78-
--help, -h show help
82+
--name value, -n value Tag name to be deleted
83+
--env-uuid value, -e value Environment UUID to be used
84+
--help, -h show help
7985
```
8086

8187
#### List tags
8288

8389
```properties
8490
$ ./osctrl-cli tag list -h
8591
NAME:
86-
osctrl-cli tag list - List all tags
92+
osctrl-cli tag list - List all tags by environment
8793

8894
USAGE:
8995
osctrl-cli tag list [command options] [arguments...]
9096

97+
OPTIONS:
98+
--env-uuid value, -e value Environment UUID to be used
99+
--help, -h show help
100+
```
101+
102+
#### List all tags
103+
104+
```properties
105+
$ ./osctrl-cli tag list-all -h
106+
NAME:
107+
osctrl-cli tag list-all - List all tags in osctrl
108+
109+
USAGE:
110+
osctrl-cli tag list-all [command options] [arguments...]
111+
91112
OPTIONS:
92113
--help, -h show help
93114
```
@@ -103,6 +124,7 @@ USAGE:
103124
osctrl-cli tag show [command options] [arguments...]
104125

105126
OPTIONS:
106-
--name value, -n value Tag name to be displayed
107-
--help, -h show help
127+
--name value, -n value Tag name to be displayed
128+
--env-uuid value, -e value Environment UUID to be used
129+
--help, -h show help
108130
```

docs/404.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
<title>404 Page not found</title>
1010

1111

12-
<link href="/css/nucleus.css?1730719774" rel="stylesheet">
13-
<link href="/css/fontawesome-all.min.css?1730719774" rel="stylesheet">
14-
<link href="/css/hybrid.css?1730719774" rel="stylesheet">
15-
<link href="/css/featherlight.min.css?1730719774" rel="stylesheet">
16-
<link href="/css/perfect-scrollbar.min.css?1730719774" rel="stylesheet">
17-
<link href="/css/theme.css?1730719774" rel="stylesheet">
18-
<link href="/css/hugo-theme.css?1730719774" rel="stylesheet">
12+
<link href="/css/nucleus.css?1739788602" rel="stylesheet">
13+
<link href="/css/fontawesome-all.min.css?1739788602" rel="stylesheet">
14+
<link href="/css/hybrid.css?1739788602" rel="stylesheet">
15+
<link href="/css/featherlight.min.css?1739788602" rel="stylesheet">
16+
<link href="/css/perfect-scrollbar.min.css?1739788602" rel="stylesheet">
17+
<link href="/css/theme.css?1739788602" rel="stylesheet">
18+
<link href="/css/hugo-theme.css?1739788602" rel="stylesheet">
1919

20-
<link href="/css/theme-osctrl.css?1730719774" rel="stylesheet">
20+
<link href="/css/theme-osctrl.css?1739788602" rel="stylesheet">
2121

2222
<style>
2323
:root #header + #content > #left > #rlblock_left {

0 commit comments

Comments
 (0)