Skip to content

Commit 2282b4c

Browse files
authored
Update README.md
1 parent 6e0b6d2 commit 2282b4c

File tree

1 file changed

+28
-5
lines changed

1 file changed

+28
-5
lines changed

README.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,24 @@ This requires you to provide your tenant domain name, along with a user and pass
44
The --help parameter provides further information on how to use this along with some examples of its usage.
55

66
This CLI tool has been tested against
7-
* webMethods.io Integration v11.0.3
7+
* webMethods.io Integration v11.0.6
88

99
# License
1010
This project is licensed under the Apache 2.0 License - see the LICENSE file for details
1111
These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.
1212

1313
Contact us via the TECHcommunity (https://techcommunity.softwareag.com/) if you have any questions.
14-
14+
15+
# IMPORTANT
16+
Due to a deprecated NPM library in a dependency of tough-cookie, if you're using a later version of node, you may see a deprecation notice for 'punycode'.
17+
This has been resolved in tough-cookie but hasn't been released (only a release candidate is available). One this is released, this will be updated to resovle this.
18+
In the meantime if you use this in scripts, you might want to suppress the deprecation notice as it may affect any parsing of results.
19+
20+
To do this run the cli tool as folows:
21+
```
22+
node --no-deprecation wmiocli.js ....
23+
```
24+
1525
# Installation
1626
```
1727
git clone https://github.com/SoftwareAG/webmethods-io-integration-apicli.git
@@ -23,7 +33,7 @@ node wmiocli.js --help
2333
# Usage
2434

2535
```
26-
──────────────────────────────────────────────────────────────────────────────┐
36+
──────────────────────────────────────────────────────────────────────────────┐
2737
│ webMethods.io Integration API CLI tool │
2838
│ This tool provides command line access to the webMethods.io Integration APIs │
2939
│ Intended to aid usage within DevOps Scenarios for asset deployment │
@@ -47,7 +57,7 @@ Options:
4757
--proxy <proxyURL> URL for proxy server if required
4858
--caCert <path-to-cert> Path to a CACert PEM file if required
4959
--ignoreTLSErrors Ignore TLS errors
50-
--experimental Provide help information on experimental commands
60+
--experimentalCommands Provide help information on experimental commands
5161
-h, --help display help for command
5262
5363
Commands:
@@ -169,6 +179,20 @@ $ node wmiocli.js
169179
-p password
170180
project-delete fl65d3aa87fc1783ea5cf8c8
171181
182+
Export Project:
183+
$ node wmiocli.js
184+
-d tenant.int-aws-us.webmethods.io
185+
-u user
186+
-p password
187+
project-export fl65d3aa87fc1783ea5cf8c8 myproject.zip
188+
189+
Import Project:
190+
$ node wmiocli.js
191+
-d tenant.int-aws-us.webmethods.io
192+
-u user
193+
-p password
194+
project-export myproject.zip MyNewProjectName
195+
172196
Get Project Assets:
173197
$ node wmiocli.js
174198
-d tenant.int-aws-us.webmethods.io
@@ -589,5 +613,4 @@ $ node wmiocli.js
589613
-p password
590614
idm-user-unlock <userid>
591615
where userid is the unique ID returned from the idm-user call
592-
593616
```

0 commit comments

Comments
 (0)