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
```docker run -it qtorque/torque-cli:latest -v ~/.torque:/root/.torque/ # to mount your local torque config file```
30
-
* The old configuration file will not work, so you will have to re-create it with command: ```torque config set```
22
+
```docker run -it quali/torque-cli:latest -v ~/.torque:/root/.torque/ # to mount your local torque config file```
23
+
* The old configuration file will not work, so you will have to re-create it with command: ```torque-cli config set```
31
24
32
25
## Configuration
33
26
34
-
To allow the torque-cli to authenticate with Torque, you must provide several parameters:
27
+
To allow the `torque-cli` to authenticate with Torque, you must provide several parameters:
35
28
**Space*: The Torque space to use
36
29
**Repository*: (Optional) Represents the name of the git repository containing the bleprints and IaC files that will be used when calling Torque
37
30
**Token*: The easiest way to generate a token is via the Torque UI.
@@ -41,16 +34,16 @@ To allow the torque-cli to authenticate with Torque, you must provide several pa
41
34
42
35
The ```Token```, ```Space``` and ```Repository``` parameters can be provided via a special command line flags (```--token```, ```--space```, and ```--repo```, respectively). You can also conveniently place these parameters in a config file relative to your user folder, so they don't need to be provided each time.
43
36
44
-
The config file can be created and managed using the interactive `torque config` command.
37
+
The config file can be created and managed using the interactive `torque-cli config` command.
45
38
The CLI supports multiple profiles, and you can switch between them by setting the active profile for ease of use. To use a non-active profile, the ```--profile_``` command-line flag needs to be used to specify the profile name.
46
39
47
-
To add a new profile or update an existing one, run ```torque config set``` and follow the on-screen directions.
48
-
To see all profiles, run ```torque config list``` and the command will output a table of all the profiles that are currently configured.
40
+
To add a new profile or update an existing one, run ```torque-cli config set``` and follow the on-screen directions.
41
+
To see all profiles, run ```torque-cli config list``` and the command will output a table of all the profiles that are currently configured.
49
42
50
43
Example output:
51
44
52
45
```bash
53
-
$ torque config list
46
+
$ torque-cli config list
54
47
Torque user profiles
55
48
56
49
Active │ Profile Name │ Space │ Repository │ Token
@@ -59,9 +52,9 @@ $ torque config list
59
52
│ test │ dev │ myrepo │ ******masd
60
53
```
61
54
62
-
If a profile is no longer needed, you can remove it by running: ```torque config remove <profile-name>```
55
+
If a profile is no longer needed, you can remove it by running: ```torque-cli config remove <profile-name>```
63
56
64
-
The ```torque config``` command saves the config file relative to your home user directory ('~/.torque/config.yml' on Mac and Linux or in the '%UserProfile%\\.torque\\config.yaml' file on Windows).
57
+
The ```torque-cli config``` command saves the config file relative to your home user directory (`~/.torque/config.yml` on Mac and Linux or in the `%UserProfile%\\.torque\\config.yaml` file on Windows).
65
58
To place the config file in a different location, specify that location via an environment variable:
The CLI allows for deplying multiple environments defined in a CSV file.
155
149
156
150
```shell
157
-
torque.exe env bulkstart <PATH-TO-CSV>
151
+
torque-cli env bulkstart <PATH-TO-CSV>
158
152
```
159
153
The lines of the CSV are itterated, starting an environment for each line. If a line specifies multiple owners, a separate environment (with the same parameters) will be started for each owner.
0 commit comments