Skip to content

Commit

Permalink
Merge branch 'bugfix/setup-private-key' into 'master'
Browse files Browse the repository at this point in the history
Moved interactive privateKey question out of execute()

See merge request transip/restapi-cli-client!124
  • Loading branch information
samihsoylu committed Mar 24, 2021
2 parents 0b36868 + b8fb346 commit cf49e99
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 133 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
=========

6.6.2
-----
* Fixed a bug that prevented running a non-interactive setup

6.6.1
-----
* Enabled PHP 8.0 support
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ tipctl setup

You can also run the setup script with no user interaction
```shell script
tipctl setup --no-interaction --apiUrl 'https://api.transip.nl/v6' --loginName 'yourUsername' --apiPrivateKey 'yourKeyPair' --apiUseWhitelist true
tipctl setup --no-interaction --apiUrl='https://api.transip.nl/v6' --loginName='yourUsername' --apiPrivateKey='yourKeyPair' --apiUseWhitelist=true

# When using spaces to separate an option from its value, you must escape the beginning of your private key
tipctl setup --no-interaction --apiUrl 'https://api.transip.nl/v6' --loginName 'yourUsername' --apiPrivateKey '\-----BEGIN PRIVATE KEY-----...' --apiUseWhitelist=true
```

## Usage / Commands
Expand Down
Loading

0 comments on commit cf49e99

Please sign in to comment.