Skip to content

Commit b187f89

Browse files
author
Maxime Colin
authored
Merge pull request #7 from la-haute-societe/features/list-command
Add a list subcommand to display a list of available environments
2 parents 76bef7f + f36220f commit b187f89

File tree

7 files changed

+1123
-890
lines changed

7 files changed

+1123
-890
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ deployator remove --environment review
142142

143143
Again, you could specify another confguration file with the ``config`` parameter, like with the ``deploy`` command.
144144

145+
145146
### Rollback to previous release
146147

147148
````sh
@@ -164,6 +165,18 @@ deployator rollback --environment review
164165
````
165166

166167

168+
### List available environments
169+
170+
````sh
171+
deployator list [--config]
172+
173+
Options:
174+
--config, -c Path of configuration file
175+
````
176+
177+
This command displays the list of environments available in the configuration file.
178+
179+
167180
## Configuration file
168181

169182
> See all the available options on the [ssh-deploy-release documentation](https://github.com/la-haute-societe/ssh-deploy-release).

0 commit comments

Comments
 (0)