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
${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456
33
31
`),
34
32
Args: metadata.NoArgs,
@@ -40,7 +38,9 @@ EXAMPLE:
40
38
cobraCmd.Flags().StringVar(&thisCmd.Tags, "tags", "", T("Comma seperated list of tags, enclosed in quotes. 'tag1,tag2' [required]"))
41
39
cobraCmd.Flags().StringVar(&thisCmd.KeyName, "key-name", "", T("Key name of a tag type e.g. GUEST, HARDWARE. See slcli tags taggable output. [required]"))
42
40
cobraCmd.Flags().IntVar(&thisCmd.ResourceId, "resource-id", 0, T("ID of the object being tagged [required]"))
43
-
41
+
cobraCmd.MarkFlagRequired("tags") //#nosec G104 -- This is a false positive
42
+
cobraCmd.MarkFlagRequired("key-name") //#nosec G104 -- This is a false positive
43
+
cobraCmd.MarkFlagRequired("resource-id") //#nosec G104 -- This is a false positive
Copy file name to clipboardExpand all lines: plugin/i18n/v2Resources/active.de_DE.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -269,8 +269,8 @@
269
269
"${COMMAND_NAME} sl subnet lookup IP_ADDRESS [OPTIONS]\n\t\nEXAMPLE:\n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n This command finds the IP address record with IP address 9.125.235.255 and displays its subnet and device information.": {
270
270
"other": "${COMMAND_NAME} sl subnet lookup IP_ADDRESS [OPTIONEN]\n\t\nBEISPIEL: \n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n Dieser Befehl sucht nach dem IP-Adressdatensatz mit der IP-Adresse 9.125.235.255 und zeigt sein Teilnetz und die Gerätedaten an."
271
271
},
272
-
"${COMMAND_NAME} sl tags set [OPTIONS]\n\nEXAMPLE:\n\t${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n": {
273
-
"other": "${COMMAND_NAME} sl tags set [OPTIONEN]\n\nBEISPIEL:\n${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n"
Copy file name to clipboardExpand all lines: plugin/i18n/v2Resources/active.en-US.json
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -278,9 +278,6 @@
278
278
"${COMMAND_NAME} sl subnet lookup IP_ADDRESS [OPTIONS]\n\t\nEXAMPLE:\n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n This command finds the IP address record with IP address 9.125.235.255 and displays its subnet and device information.": {
279
279
"other": "${COMMAND_NAME} sl subnet lookup IP_ADDRESS [OPTIONS]\n\t\nEXAMPLE:\n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n This command finds the IP address record with IP address 9.125.235.255 and displays its subnet and device information."
280
280
},
281
-
"${COMMAND_NAME} sl tags set [OPTIONS]\n\nEXAMPLE:\n\t${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n": {
282
-
"other": "${COMMAND_NAME} sl tags set [OPTIONS]\n\nEXAMPLE:\n\t${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n"
"EXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} access-authorize 12345678 --virtual-id 87654321\n This command authorizes virtual server with ID 87654321 to access volume with ID 12345678.": {
1890
1890
"other": "EXAMPLE:\n ${COMMAND_NAME} sl {{.storageType}} access-authorize 12345678 --virtual-id 87654321\n This command authorizes virtual server with ID 87654321 to access volume with ID 12345678."
1891
1891
},
@@ -3998,6 +3998,9 @@
3998
3998
"Incorrect Usage: ": {
3999
3999
"other": "Incorrect Usage: "
4000
4000
},
4001
+
"Incorrect Usage: '{{.CMD}}' is required": {
4002
+
"other": "Incorrect Usage: '{{.CMD}}' is required"
4003
+
},
4001
4004
"Incorrect complex type: {{.Type}}": {
4002
4005
"other": "Incorrect complex type: {{.Type}}"
4003
4006
},
@@ -7802,9 +7805,6 @@
7802
7805
"type": {
7803
7806
"other": "type"
7804
7807
},
7805
-
"unknown command {{.Arg}} for {{.Command}}": {
7806
-
"other": "unknown command {{.Arg}} for {{.Command}}"
Copy file name to clipboardExpand all lines: plugin/i18n/v2Resources/active.es_ES.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -269,8 +269,8 @@
269
269
"${COMMAND_NAME} sl subnet lookup IP_ADDRESS [OPTIONS]\n\t\nEXAMPLE:\n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n This command finds the IP address record with IP address 9.125.235.255 and displays its subnet and device information.": {
270
270
"other": "${COMMAND_NAME} sl subnet lookup IP_ADDRESS [OPTIONS]\n\t\nEJEMPLO:\n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n Este mandato encuentra el registro de dirección IP con la dirección IP 9.125.235.255 y muestra la información del dispositivo y la subred."
271
271
},
272
-
"${COMMAND_NAME} sl tags set [OPTIONS]\n\nEXAMPLE:\n\t${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n": {
273
-
"other": "${COMMAND_NAME} sl tags set [OPTIONS]\n\nEJEMPLO:\n${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n"
Copy file name to clipboardExpand all lines: plugin/i18n/v2Resources/active.fr_FR.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -269,8 +269,8 @@
269
269
"${COMMAND_NAME} sl subnet lookup IP_ADDRESS [OPTIONS]\n\t\nEXAMPLE:\n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n This command finds the IP address record with IP address 9.125.235.255 and displays its subnet and device information.": {
270
270
"other": "${COMMAND_NAME} sl subnet lookup ADRESSE_IP [OPTIONS]\n\t\nEXEMPLE :\n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n Cette commande recherche l'enregistrement d'adresse IP avec l'adresse IP 9.125.235.255 et affiche les informations sur son sous-réseau et ses périphériques."
271
271
},
272
-
"${COMMAND_NAME} sl tags set [OPTIONS]\n\nEXAMPLE:\n\t${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n": {
273
-
"other": "${COMMAND_NAME} sl tags set [OPTIONS]\n\nEXEMPLE :\n${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n"
Copy file name to clipboardExpand all lines: plugin/i18n/v2Resources/active.it_IT.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -269,8 +269,8 @@
269
269
"${COMMAND_NAME} sl subnet lookup IP_ADDRESS [OPTIONS]\n\t\nEXAMPLE:\n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n This command finds the IP address record with IP address 9.125.235.255 and displays its subnet and device information.": {
270
270
"other": "${COMMAND_NAME} sl subnet lookup INDIRIZZO_IP [OPZIONI]\n\t\nESEMPIO:\n ${COMMAND_NAME} sl subnet lookup 9.125.235.255\n Questo comando trova il record dell'indirizzo IP con l'indirizzo IP 9.125.235.255 e visualizza le informazioni relative a sottorete e dispositivo."
271
271
},
272
-
"${COMMAND_NAME} sl tags set [OPTIONS]\n\nEXAMPLE:\n\t${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n": {
273
-
"other": "${COMMAND_NAME} sl tags set [OPZIONI]\n\nESEMPIO:\n${COMMAND_NAME} sl tags set --tags 'tag1,tag2' --key-name HARDWARE --resource-id 123456\n"
0 commit comments