|
@@ -13,22 +13,23 @@ cscli machines add [flags]
|
|
|
### Examples
|
|
|
|
|
|
```
|
|
|
-cscli machines add -m MyTestMachine
|
|
|
-cscli machines add --machine TestMachine --password password
|
|
|
+
|
|
|
+cscli machines add --auto
|
|
|
+cscli machines add MyTestMachine --auto
|
|
|
+cscli machines add MyTestMachine --password MyPassword
|
|
|
|
|
|
```
|
|
|
|
|
|
### Options
|
|
|
|
|
|
```
|
|
|
- -a, --auto add the machine automatically (generate the machine ID and the password)
|
|
|
+ -a, --auto add the machine automatically (will generate also the username if not provided)
|
|
|
-f, --file string output file destination
|
|
|
- --force will force if the machine was already added
|
|
|
+ --force will force add the machine if it already exist
|
|
|
-h, --help help for add
|
|
|
- -i, --interactive machine ip address
|
|
|
- -m, --machine string machine ID to login to the API
|
|
|
+ -i, --interactive interfactive mode to enter the password
|
|
|
-p, --password string machine password to login to the API
|
|
|
- -u, --url string URL of the API
|
|
|
+ -u, --url string URL of the local API
|
|
|
```
|
|
|
|
|
|
### Options inherited from parent commands
|
|
@@ -47,4 +48,4 @@ cscli machines add --machine TestMachine --password password
|
|
|
|
|
|
* [cscli machines](cscli_machines.md) - Manage local API machines
|
|
|
|
|
|
-
|
|
|
+###### Auto generated by spf13/cobra on 30-Nov-2020
|