@autifyhq/autify-cli 0.24.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,7 +23,7 @@ See our official document: https://help.autify.com/docs/autify-command-line-inte
23
23
  * [`autify connect access-point set`](#autify-connect-access-point-set)
24
24
  * [`autify connect client install [VERSION]`](#autify-connect-client-install-version)
25
25
  * [`autify connect client start`](#autify-connect-client-start)
26
- * [`autify help [COMMAND]`](#autify-help-command)
26
+ * [`autify help [COMMANDS]`](#autify-help-commands)
27
27
  * [`autify mobile api describe-test-result`](#autify-mobile-api-describe-test-result)
28
28
  * [`autify mobile api list-test-results`](#autify-mobile-api-list-test-results)
29
29
  * [`autify mobile api run-test-plan`](#autify-mobile-api-run-test-plan)
@@ -154,16 +154,16 @@ EXAMPLES
154
154
  $ autify connect client start --web-workspace-id 000
155
155
  ```
156
156
 
157
- ## `autify help [COMMAND]`
157
+ ## `autify help [COMMANDS]`
158
158
 
159
159
  Display help for autify.
160
160
 
161
161
  ```
162
162
  USAGE
163
- $ autify help [COMMAND] [-n]
163
+ $ autify help [COMMANDS] [-n]
164
164
 
165
165
  ARGUMENTS
166
- COMMAND Command to show help for.
166
+ COMMANDS Command to show help for.
167
167
 
168
168
  FLAGS
169
169
  -n, --nested-commands Include all nested commands in the output.
@@ -172,7 +172,7 @@ DESCRIPTION
172
172
  Display help for autify.
173
173
  ```
174
174
 
175
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.22/src/commands/help.ts)_
175
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.2/src/commands/help.ts)_
176
176
 
177
177
  ## `autify mobile api describe-test-result`
178
178
 
@@ -401,7 +401,7 @@ EXAMPLES
401
401
  $ autify update --available
402
402
  ```
403
403
 
404
- _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v3.0.11/src/commands/update.ts)_
404
+ _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v3.1.1/src/commands/update.ts)_
405
405
 
406
406
  ## `autify web api create-access-point`
407
407
 
@@ -1 +1,1056 @@
1
- {"version":"0.24.0","commands":{"connect:access-point:create":{"id":"connect:access-point:create","description":"Create an Autify Connect Access Point","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --name NAME --web-workspace-id ID"],"flags":{"name":{"name":"name","type":"option","description":"Name of Autify Connect Access Point to be created","required":true,"multiple":false},"web-workspace-id":{"name":"web-workspace-id","type":"option","description":"Workspace ID of Autify for Web to which the Access Point will belong","multiple":false}},"args":[]},"connect:access-point:set":{"id":"connect:access-point:set","description":"Set Autify Connect Access Point","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["Start interactive setup:\n<%= config.bin %> <%= command.id %> --name=NAME","Reading the key from file:\n<%= config.bin %> <%= command.id %> --name=NAME < key.txt"],"flags":{"name":{"name":"name","type":"option","description":"Name of the Autify Connect Access Point already created","required":true,"multiple":false}},"args":[]},"connect:client:install":{"id":"connect:client:install","description":"Install Autify Connect Client","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["(Recommended) Install the supported version:\n<%= config.bin %> <%= command.id %>","Install a specific version:\n<%= config.bin %> <%= command.id %> v0.6.1","Install a stable version:\n<%= config.bin %> <%= command.id %> stable"],"flags":{},"args":[{"name":"version","description":"Specify the target version of Autify Connect Client.","default":"v1.0.0"}]},"connect:client:start":{"id":"connect:client:start","description":"Start Autify Connect Client","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["With pre-created Access Point:\n<%= config.bin %> <%= command.id %>","With ephemeral Access Point of Autify for Web:\n<%= config.bin %> <%= command.id %> --web-workspace-id 000"],"flags":{"verbose":{"name":"verbose","type":"boolean","description":"Make the operation more talkative.","allowNo":false},"file-logging":{"name":"file-logging","type":"boolean","description":"Logging Autify Connect Client log to a file instead of console.","allowNo":false},"debug-server-port":{"name":"debug-server-port","type":"option","description":"The server for debugging and monitoring launches on your local machine on the given port. It will use a radom port if not specified.","multiple":false},"web-workspace-id":{"name":"web-workspace-id","type":"option","description":"Workspace ID of Autify for Web to create an ephemeral Access Point. If not specified, it will use the one configured by `autify connect access-point create/set`, instead.","multiple":false},"extra-arguments":{"name":"extra-arguments","type":"option","description":"Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".","multiple":false}},"args":[]},"mobile:api:describe-test-result":{"id":"mobile:api:describe-test-result","description":"Get a test result.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"ID of the project from which the test results will be obtained.","required":true,"multiple":false},"id":{"name":"id","type":"option","description":"Test Result ID.","required":true,"multiple":false}},"args":[]},"mobile:api:list-test-results":{"id":"mobile:api:list-test-results","description":"List test results.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"ID of the project from which the list of test results will be retrieved.","required":true,"multiple":false},"page":{"name":"page","type":"option","description":"Page number to be retrieved.","required":false,"multiple":false},"per-page":{"name":"per-page","type":"option","description":"Number of test results per page.","required":false,"multiple":false},"test-plan-id":{"name":"test-plan-id","type":"option","description":"ID of the test plan.","required":false,"multiple":false}},"args":[]},"mobile:api:run-test-plan":{"id":"mobile:api:run-test-plan","description":"Run a test plan","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"test-plan-id":{"name":"test-plan-id","type":"option","description":"The ID of the test plan to run.","required":true,"multiple":false},"run-test-plan-request":{"name":"run-test-plan-request","type":"option","description":"The build_id to execute the test plan.","required":true,"multiple":false}},"args":[]},"mobile:api:upload-build":{"id":"mobile:api:upload-build","description":"Upload the build file.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"The ID of the project to upload the build file to.","required":true,"multiple":false},"file":{"name":"file","type":"option","description":"Build file.","required":true,"multiple":false}},"args":[]},"mobile:auth:login":{"id":"mobile:auth:login","description":"Login to Autify for Mobile","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["Start interactive setup:\n<%= config.bin %> <%= command.id %>","Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"],"flags":{},"args":[]},"mobile:build:upload":{"id":"mobile:build:upload","description":"Upload a build file","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>","Upload build file\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app","Upload build file (JSON output)\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app --json"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"workspace-id":{"name":"workspace-id","type":"option","char":"w","description":"Workspace ID to upload the build file","required":true,"multiple":false}},"args":[{"name":"build-path","description":"File path to the iOS app (*.app) or Android app (*.apk).","required":true}]},"mobile:test:run":{"id":"mobile:test:run","description":"Run a test plan.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["Run a test plan with a build ID:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB","Run a test plan with a new build file:\n<%= config.bin %> <%= command.id %> --build-path ./my.[app|apk] https://mobile-app.autify.com/projects/AAA/test_plans/BBB","Run and wait a test plan:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB --wait --timeout 600"],"flags":{"build-id":{"name":"build-id","type":"option","description":"ID of the already uploaded build.","multiple":false,"exclusive":["build-path"]},"build-path":{"name":"build-path","type":"option","description":"File path to the iOS app (*.app) or Android app (*.apk).","multiple":false,"exclusive":["build-id"]},"wait":{"name":"wait","type":"boolean","char":"w","description":"Wait until the test finishes.","allowNo":false},"timeout":{"name":"timeout","type":"option","char":"t","description":"Timeout seconds when waiting for the finish of the test execution.","multiple":false,"default":300},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"max-retry-count":{"name":"max-retry-count","type":"option","description":"Maximum retry count. The command can take up to timeout * (max-retry-count + 1).","multiple":false,"default":0}},"args":[{"name":"test-plan-url","description":"Test plan URL e.g. https://mobile-app.autify.com/projects/<ID>/test_plans/<ID>","required":true}]},"mobile:test:wait":{"id":"mobile:test:wait","description":"Wait a test result until it finishes.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> https://mobile-app.autify.com/projects/AAA/results/BBB"],"flags":{"timeout":{"name":"timeout","type":"option","char":"t","description":"Timeout seconds when waiting for the finish of the test execution.","multiple":false,"default":300},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false}},"args":[{"name":"test-result-url","description":"Test result URL e.g. https://mobile-app.autify.com/projects/<ID>/results/<ID>","required":true}]},"web:api:create-access-point":{"id":"web:api:create-access-point","description":"You can generate a new access point by passing in its name.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios","required":true,"multiple":false},"create-access-point-request":{"name":"create-access-point-request","type":"option","description":"The name of the access point to be created","required":true,"multiple":false}},"args":[]},"web:api:create-url-replacement":{"id":"web:api:create-url-replacement","description":"Create a new url replacement for the test plan","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"test-plan-id":{"name":"test-plan-id","type":"option","description":"For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15","required":true,"multiple":false},"create-url-replacement-request":{"name":"create-url-replacement-request","type":"option","description":"The url to replace","required":true,"multiple":false}},"args":[]},"web:api:delete-access-point":{"id":"web:api:delete-access-point","description":"You can delete an access point by passing in its name.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios","required":true,"multiple":false},"delete-access-point-request":{"name":"delete-access-point-request","type":"option","description":"The name of the access point to be deleted","required":true,"multiple":false}},"args":[]},"web:api:delete-url-replacement":{"id":"web:api:delete-url-replacement","description":"Delete a url replacement for the test plan","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"test-plan-id":{"name":"test-plan-id","type":"option","description":"For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15","required":true,"multiple":false},"url-replacement-id":{"name":"url-replacement-id","type":"option","description":"url_replacement id","required":true,"multiple":false}},"args":[]},"web:api:describe-result":{"id":"web:api:describe-result","description":"Get a test result.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"For example, 1 for the following URL: https://app.autify.com/projects/1/results/4","required":true,"multiple":false},"result-id":{"name":"result-id","type":"option","description":"For example, 4 for the following URL: https://app.autify.com/projects/1/results/4","required":true,"multiple":false}},"args":[]},"web:api:describe-scenario":{"id":"web:api:describe-scenario","description":"Get a scenario.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2","required":true,"multiple":false},"scenario-id":{"name":"scenario-id","type":"option","description":"For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2","required":true,"multiple":false}},"args":[]},"web:api:execute-scenarios":{"id":"web:api:execute-scenarios","description":"You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios","required":true,"multiple":false},"execute-scenarios-request":{"name":"execute-scenarios-request","type":"option","description":"The scenarios and settings to execute","required":true,"multiple":false}},"args":[]},"web:api:execute-schedule":{"id":"web:api:execute-schedule","description":"\"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"schedule-id":{"name":"schedule-id","type":"option","description":"For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3","required":true,"multiple":false},"execute-schedule-request":{"name":"execute-schedule-request","type":"option","description":"The options to execute a test plan.","required":false,"multiple":false}},"args":[]},"web:api:list-access-points":{"id":"web:api:list-access-points","description":"List access points for the project.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios","required":true,"multiple":false},"page":{"name":"page","type":"option","description":"The number of page returns.","required":false,"multiple":false}},"args":[]},"web:api:list-capabilities":{"id":"web:api:list-capabilities","description":"List available Capabilities.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities","required":true,"multiple":false},"os":{"name":"os","type":"option","description":"os name to filter","required":false,"multiple":false},"browser":{"name":"browser","type":"option","description":"browser name to filter","required":false,"multiple":false},"device-type":{"name":"device-type","type":"option","description":"device_type name to filter","required":false,"multiple":false}},"args":[]},"web:api:list-results":{"id":"web:api:list-results","description":"List test results.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"For example, 1 for the following URL: https://app.autify.com/projects/1/results","required":true,"multiple":false},"page":{"name":"page","type":"option","description":"The number of page returns.","required":false,"multiple":false},"per-page":{"name":"per-page","type":"option","description":"The number of items returns. Default number is 30 and up to a maximum of 100","required":false,"multiple":false},"test-plan-id":{"name":"test-plan-id","type":"option","description":"Test plan ID used to filter results.","required":false,"multiple":false}},"args":[]},"web:api:list-scenarios":{"id":"web:api:list-scenarios","description":"List scenarios.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"project-id":{"name":"project-id","type":"option","description":"For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios","required":true,"multiple":false},"page":{"name":"page","type":"option","description":"The number of page returns.","required":false,"multiple":false}},"args":[]},"web:api:list-url-replacements":{"id":"web:api:list-url-replacements","description":"List url replacements for the test plan","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"test-plan-id":{"name":"test-plan-id","type":"option","description":"For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15","required":true,"multiple":false}},"args":[]},"web:api:update-url-replacement":{"id":"web:api:update-url-replacement","description":"Update a url replacement for the test plan","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"test-plan-id":{"name":"test-plan-id","type":"option","description":"For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15","required":true,"multiple":false},"url-replacement-id":{"name":"url-replacement-id","type":"option","description":"url_replacement id","required":true,"multiple":false},"update-url-replacement-request":{"name":"update-url-replacement-request","type":"option","description":"The url to replace. Either pattern_url or replacement_url is required.","required":true,"multiple":false}},"args":[]},"web:auth:login":{"id":"web:auth:login","description":"Login to Autify for Web","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["Start interactive setup:\n<%= config.bin %> <%= command.id %>","Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"],"flags":{},"args":[]},"web:test:run":{"id":"web:test:run","description":"Run a scenario or test plan.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["Run a test scenario (Default capability):\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000","Run a test plan:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/test_plans/0000","Run and wait a test scenario:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --timeout 600","Run a test scenario with a specific capability:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --os \"Windows Server\" --browser Edge","With URL replacements:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 -r http://example.com=http://example.net -r http://example.org=http://example.net","Run a test with specifying the execution name:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --name \"Sample execution\"","Run a test scenario with Autify Connect:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --autify-connect NAME","Run a test scenario with Autify Connect Client:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client"],"flags":{"name":{"name":"name","type":"option","char":"n","description":"[Only for test scenario] Name of the test execution.","multiple":false},"url-replacements":{"name":"url-replacements","type":"option","char":"r","description":"URL replacements. Example: http://example.com=http://example.net","multiple":true},"autify-connect":{"name":"autify-connect","type":"option","description":"Name of the Autify Connect Access Point.","multiple":false,"exclusive":["autify-connect-client"]},"autify-connect-client":{"name":"autify-connect-client","type":"boolean","description":"Start Autify Connect Client","allowNo":false,"dependsOn":["wait"],"exclusive":["autify-connect"]},"autify-connect-client-verbose":{"name":"autify-connect-client-verbose","type":"boolean","description":"Verbose output for Autify Connect Client.","allowNo":false,"dependsOn":["autify-connect-client"]},"autify-connect-client-file-logging":{"name":"autify-connect-client-file-logging","type":"boolean","description":"Logging Autify Connect Client log to a file instead of console.","allowNo":false,"dependsOn":["autify-connect-client"]},"autify-connect-client-debug-server-port":{"name":"autify-connect-client-debug-server-port","type":"option","description":"Port for Autify Connect Client debug server. A random port will be used if not specified.","multiple":false,"dependsOn":["autify-connect-client"]},"autify-connect-client-extra-arguments":{"name":"autify-connect-client-extra-arguments","type":"option","description":"Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".","multiple":false,"dependsOn":["autify-connect-client"]},"os":{"name":"os","type":"option","description":"[Only for test scenario] OS to run the test","multiple":false},"os-version":{"name":"os-version","type":"option","description":"[Only for test scenario] OS version to run the test","multiple":false},"browser":{"name":"browser","type":"option","description":"[Only for test scenario] Browser to run the test","multiple":false},"device":{"name":"device","type":"option","description":"[Only for test scenario] Device to run the test","multiple":false},"device-type":{"name":"device-type","type":"option","description":"[Only for test scenario] Device type to run the test","multiple":false},"wait":{"name":"wait","type":"boolean","char":"w","description":"Wait until the test finishes.","allowNo":false},"timeout":{"name":"timeout","type":"option","char":"t","description":"Timeout seconds when waiting for the finish of the test execution.","multiple":false,"default":300},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"max-retry-count":{"name":"max-retry-count","type":"option","description":"Maximum retry count while waiting. The command can take up to `timeout * (max-retry-count + 1)`. Only effective with `--wait`.","multiple":false,"default":0}},"args":[{"name":"scenario-or-test-plan-url","description":"Scenario URL or Test plan URL e.g. https://app.autify.com/projects/<ID>/(scenarios|test_plans)/<ID>","required":true}]},"web:test:wait":{"id":"web:test:wait","description":"Wait a test result until it finishes.","strict":true,"pluginName":"@autifyhq/autify-cli","pluginAlias":"@autifyhq/autify-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/results/0000"],"flags":{"timeout":{"name":"timeout","type":"option","char":"t","description":"Timeout seconds when waiting for the finish of the test execution.","multiple":false,"default":300},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false}},"args":[{"name":"test-result-url","description":"Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>","required":true}]}}}
1
+ {
2
+ "version": "0.26.0",
3
+ "commands": {
4
+ "connect:access-point:create": {
5
+ "id": "connect:access-point:create",
6
+ "description": "Create an Autify Connect Access Point",
7
+ "strict": true,
8
+ "pluginName": "@autifyhq/autify-cli",
9
+ "pluginAlias": "@autifyhq/autify-cli",
10
+ "pluginType": "core",
11
+ "aliases": [],
12
+ "examples": [
13
+ "<%= config.bin %> <%= command.id %> --name NAME --web-workspace-id ID"
14
+ ],
15
+ "flags": {
16
+ "name": {
17
+ "name": "name",
18
+ "type": "option",
19
+ "description": "Name of Autify Connect Access Point to be created",
20
+ "required": true,
21
+ "multiple": false
22
+ },
23
+ "web-workspace-id": {
24
+ "name": "web-workspace-id",
25
+ "type": "option",
26
+ "description": "Workspace ID of Autify for Web to which the Access Point will belong",
27
+ "multiple": false
28
+ }
29
+ },
30
+ "args": {}
31
+ },
32
+ "connect:access-point:set": {
33
+ "id": "connect:access-point:set",
34
+ "description": "Set Autify Connect Access Point",
35
+ "strict": true,
36
+ "pluginName": "@autifyhq/autify-cli",
37
+ "pluginAlias": "@autifyhq/autify-cli",
38
+ "pluginType": "core",
39
+ "aliases": [],
40
+ "examples": [
41
+ "Start interactive setup:\n<%= config.bin %> <%= command.id %> --name=NAME",
42
+ "Reading the key from file:\n<%= config.bin %> <%= command.id %> --name=NAME < key.txt"
43
+ ],
44
+ "flags": {
45
+ "name": {
46
+ "name": "name",
47
+ "type": "option",
48
+ "description": "Name of the Autify Connect Access Point already created",
49
+ "required": true,
50
+ "multiple": false
51
+ }
52
+ },
53
+ "args": {}
54
+ },
55
+ "connect:client:install": {
56
+ "id": "connect:client:install",
57
+ "description": "Install Autify Connect Client",
58
+ "strict": true,
59
+ "pluginName": "@autifyhq/autify-cli",
60
+ "pluginAlias": "@autifyhq/autify-cli",
61
+ "pluginType": "core",
62
+ "aliases": [],
63
+ "examples": [
64
+ "(Recommended) Install the supported version:\n<%= config.bin %> <%= command.id %>",
65
+ "Install a specific version:\n<%= config.bin %> <%= command.id %> v0.6.1",
66
+ "Install a stable version:\n<%= config.bin %> <%= command.id %> stable"
67
+ ],
68
+ "flags": {},
69
+ "args": {
70
+ "version": {
71
+ "name": "version",
72
+ "description": "Specify the target version of Autify Connect Client.",
73
+ "default": "v1.0.0"
74
+ }
75
+ }
76
+ },
77
+ "connect:client:start": {
78
+ "id": "connect:client:start",
79
+ "description": "Start Autify Connect Client",
80
+ "strict": true,
81
+ "pluginName": "@autifyhq/autify-cli",
82
+ "pluginAlias": "@autifyhq/autify-cli",
83
+ "pluginType": "core",
84
+ "aliases": [],
85
+ "examples": [
86
+ "With pre-created Access Point:\n<%= config.bin %> <%= command.id %>",
87
+ "With ephemeral Access Point of Autify for Web:\n<%= config.bin %> <%= command.id %> --web-workspace-id 000"
88
+ ],
89
+ "flags": {
90
+ "verbose": {
91
+ "name": "verbose",
92
+ "type": "boolean",
93
+ "description": "Make the operation more talkative.",
94
+ "allowNo": false
95
+ },
96
+ "file-logging": {
97
+ "name": "file-logging",
98
+ "type": "boolean",
99
+ "description": "Logging Autify Connect Client log to a file instead of console.",
100
+ "allowNo": false
101
+ },
102
+ "debug-server-port": {
103
+ "name": "debug-server-port",
104
+ "type": "option",
105
+ "description": "The server for debugging and monitoring launches on your local machine on the given port. It will use a radom port if not specified.",
106
+ "multiple": false
107
+ },
108
+ "web-workspace-id": {
109
+ "name": "web-workspace-id",
110
+ "type": "option",
111
+ "description": "Workspace ID of Autify for Web to create an ephemeral Access Point. If not specified, it will use the one configured by `autify connect access-point create/set`, instead.",
112
+ "multiple": false
113
+ },
114
+ "extra-arguments": {
115
+ "name": "extra-arguments",
116
+ "type": "option",
117
+ "description": "Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".",
118
+ "multiple": false
119
+ }
120
+ },
121
+ "args": {}
122
+ },
123
+ "mobile:api:describe-test-result": {
124
+ "id": "mobile:api:describe-test-result",
125
+ "description": "Get a test result.",
126
+ "strict": true,
127
+ "pluginName": "@autifyhq/autify-cli",
128
+ "pluginAlias": "@autifyhq/autify-cli",
129
+ "pluginType": "core",
130
+ "aliases": [],
131
+ "examples": [
132
+ "<%= config.bin %> <%= command.id %>"
133
+ ],
134
+ "flags": {
135
+ "project-id": {
136
+ "name": "project-id",
137
+ "type": "option",
138
+ "description": "ID of the project from which the test results will be obtained.",
139
+ "required": true,
140
+ "multiple": false
141
+ },
142
+ "id": {
143
+ "name": "id",
144
+ "type": "option",
145
+ "description": "Test Result ID.",
146
+ "required": true,
147
+ "multiple": false
148
+ }
149
+ },
150
+ "args": {}
151
+ },
152
+ "mobile:api:list-test-results": {
153
+ "id": "mobile:api:list-test-results",
154
+ "description": "List test results.",
155
+ "strict": true,
156
+ "pluginName": "@autifyhq/autify-cli",
157
+ "pluginAlias": "@autifyhq/autify-cli",
158
+ "pluginType": "core",
159
+ "aliases": [],
160
+ "examples": [
161
+ "<%= config.bin %> <%= command.id %>"
162
+ ],
163
+ "flags": {
164
+ "project-id": {
165
+ "name": "project-id",
166
+ "type": "option",
167
+ "description": "ID of the project from which the list of test results will be retrieved.",
168
+ "required": true,
169
+ "multiple": false
170
+ },
171
+ "page": {
172
+ "name": "page",
173
+ "type": "option",
174
+ "description": "Page number to be retrieved.",
175
+ "required": false,
176
+ "multiple": false
177
+ },
178
+ "per-page": {
179
+ "name": "per-page",
180
+ "type": "option",
181
+ "description": "Number of test results per page.",
182
+ "required": false,
183
+ "multiple": false
184
+ },
185
+ "test-plan-id": {
186
+ "name": "test-plan-id",
187
+ "type": "option",
188
+ "description": "ID of the test plan.",
189
+ "required": false,
190
+ "multiple": false
191
+ }
192
+ },
193
+ "args": {}
194
+ },
195
+ "mobile:api:run-test-plan": {
196
+ "id": "mobile:api:run-test-plan",
197
+ "description": "Run a test plan",
198
+ "strict": true,
199
+ "pluginName": "@autifyhq/autify-cli",
200
+ "pluginAlias": "@autifyhq/autify-cli",
201
+ "pluginType": "core",
202
+ "aliases": [],
203
+ "examples": [
204
+ "<%= config.bin %> <%= command.id %>"
205
+ ],
206
+ "flags": {
207
+ "test-plan-id": {
208
+ "name": "test-plan-id",
209
+ "type": "option",
210
+ "description": "The ID of the test plan to run.",
211
+ "required": true,
212
+ "multiple": false
213
+ },
214
+ "run-test-plan-request": {
215
+ "name": "run-test-plan-request",
216
+ "type": "option",
217
+ "description": "The build_id to execute the test plan.",
218
+ "required": true,
219
+ "multiple": false
220
+ }
221
+ },
222
+ "args": {}
223
+ },
224
+ "mobile:api:upload-build": {
225
+ "id": "mobile:api:upload-build",
226
+ "description": "Upload the build file.",
227
+ "strict": true,
228
+ "pluginName": "@autifyhq/autify-cli",
229
+ "pluginAlias": "@autifyhq/autify-cli",
230
+ "pluginType": "core",
231
+ "aliases": [],
232
+ "examples": [
233
+ "<%= config.bin %> <%= command.id %>"
234
+ ],
235
+ "flags": {
236
+ "project-id": {
237
+ "name": "project-id",
238
+ "type": "option",
239
+ "description": "The ID of the project to upload the build file to.",
240
+ "required": true,
241
+ "multiple": false
242
+ },
243
+ "file": {
244
+ "name": "file",
245
+ "type": "option",
246
+ "description": "Build file.",
247
+ "required": true,
248
+ "multiple": false
249
+ }
250
+ },
251
+ "args": {}
252
+ },
253
+ "mobile:auth:login": {
254
+ "id": "mobile:auth:login",
255
+ "description": "Login to Autify for Mobile",
256
+ "strict": true,
257
+ "pluginName": "@autifyhq/autify-cli",
258
+ "pluginAlias": "@autifyhq/autify-cli",
259
+ "pluginType": "core",
260
+ "aliases": [],
261
+ "examples": [
262
+ "Start interactive setup:\n<%= config.bin %> <%= command.id %>",
263
+ "Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
264
+ ],
265
+ "flags": {},
266
+ "args": {}
267
+ },
268
+ "mobile:build:upload": {
269
+ "id": "mobile:build:upload",
270
+ "description": "Upload a build file",
271
+ "strict": true,
272
+ "pluginName": "@autifyhq/autify-cli",
273
+ "pluginAlias": "@autifyhq/autify-cli",
274
+ "pluginType": "core",
275
+ "aliases": [],
276
+ "examples": [
277
+ "<%= config.bin %> <%= command.id %>",
278
+ "Upload build file\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app",
279
+ "Upload build file (JSON output)\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app --json"
280
+ ],
281
+ "flags": {
282
+ "json": {
283
+ "name": "json",
284
+ "type": "boolean",
285
+ "description": "Format output as json.",
286
+ "helpGroup": "GLOBAL",
287
+ "allowNo": false
288
+ },
289
+ "workspace-id": {
290
+ "name": "workspace-id",
291
+ "type": "option",
292
+ "char": "w",
293
+ "description": "Workspace ID to upload the build file",
294
+ "required": true,
295
+ "multiple": false
296
+ }
297
+ },
298
+ "args": {
299
+ "build-path": {
300
+ "name": "build-path",
301
+ "description": "File path to the iOS app (*.app) or Android app (*.apk).",
302
+ "required": true
303
+ }
304
+ }
305
+ },
306
+ "mobile:test:run": {
307
+ "id": "mobile:test:run",
308
+ "description": "Run a test plan.",
309
+ "strict": true,
310
+ "pluginName": "@autifyhq/autify-cli",
311
+ "pluginAlias": "@autifyhq/autify-cli",
312
+ "pluginType": "core",
313
+ "aliases": [],
314
+ "examples": [
315
+ "Run a test plan with a build ID:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB",
316
+ "Run a test plan with a new build file:\n<%= config.bin %> <%= command.id %> --build-path ./my.[app|apk] https://mobile-app.autify.com/projects/AAA/test_plans/BBB",
317
+ "Run and wait a test plan:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB --wait --timeout 600"
318
+ ],
319
+ "flags": {
320
+ "build-id": {
321
+ "name": "build-id",
322
+ "type": "option",
323
+ "description": "ID of the already uploaded build.",
324
+ "multiple": false,
325
+ "exclusive": [
326
+ "build-path"
327
+ ]
328
+ },
329
+ "build-path": {
330
+ "name": "build-path",
331
+ "type": "option",
332
+ "description": "File path to the iOS app (*.app) or Android app (*.apk).",
333
+ "multiple": false,
334
+ "exclusive": [
335
+ "build-id"
336
+ ]
337
+ },
338
+ "wait": {
339
+ "name": "wait",
340
+ "type": "boolean",
341
+ "char": "w",
342
+ "description": "Wait until the test finishes.",
343
+ "allowNo": false
344
+ },
345
+ "timeout": {
346
+ "name": "timeout",
347
+ "type": "option",
348
+ "char": "t",
349
+ "description": "Timeout seconds when waiting for the finish of the test execution.",
350
+ "multiple": false,
351
+ "default": 300
352
+ },
353
+ "verbose": {
354
+ "name": "verbose",
355
+ "type": "boolean",
356
+ "char": "v",
357
+ "description": "Verbose output",
358
+ "allowNo": false
359
+ },
360
+ "max-retry-count": {
361
+ "name": "max-retry-count",
362
+ "type": "option",
363
+ "description": "Maximum retry count. The command can take up to timeout * (max-retry-count + 1).",
364
+ "multiple": false,
365
+ "default": 0
366
+ }
367
+ },
368
+ "args": {
369
+ "test-plan-url": {
370
+ "name": "test-plan-url",
371
+ "description": "Test plan URL e.g. https://mobile-app.autify.com/projects/<ID>/test_plans/<ID>",
372
+ "required": true
373
+ }
374
+ }
375
+ },
376
+ "mobile:test:wait": {
377
+ "id": "mobile:test:wait",
378
+ "description": "Wait a test result until it finishes.",
379
+ "strict": true,
380
+ "pluginName": "@autifyhq/autify-cli",
381
+ "pluginAlias": "@autifyhq/autify-cli",
382
+ "pluginType": "core",
383
+ "aliases": [],
384
+ "examples": [
385
+ "<%= config.bin %> <%= command.id %> https://mobile-app.autify.com/projects/AAA/results/BBB"
386
+ ],
387
+ "flags": {
388
+ "timeout": {
389
+ "name": "timeout",
390
+ "type": "option",
391
+ "char": "t",
392
+ "description": "Timeout seconds when waiting for the finish of the test execution.",
393
+ "multiple": false,
394
+ "default": 300
395
+ },
396
+ "verbose": {
397
+ "name": "verbose",
398
+ "type": "boolean",
399
+ "char": "v",
400
+ "description": "Verbose output",
401
+ "allowNo": false
402
+ }
403
+ },
404
+ "args": {
405
+ "test-result-url": {
406
+ "name": "test-result-url",
407
+ "description": "Test result URL e.g. https://mobile-app.autify.com/projects/<ID>/results/<ID>",
408
+ "required": true
409
+ }
410
+ }
411
+ },
412
+ "web:api:create-access-point": {
413
+ "id": "web:api:create-access-point",
414
+ "description": "You can generate a new access point by passing in its name.",
415
+ "strict": true,
416
+ "pluginName": "@autifyhq/autify-cli",
417
+ "pluginAlias": "@autifyhq/autify-cli",
418
+ "pluginType": "core",
419
+ "aliases": [],
420
+ "examples": [
421
+ "<%= config.bin %> <%= command.id %>"
422
+ ],
423
+ "flags": {
424
+ "project-id": {
425
+ "name": "project-id",
426
+ "type": "option",
427
+ "description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
428
+ "required": true,
429
+ "multiple": false
430
+ },
431
+ "create-access-point-request": {
432
+ "name": "create-access-point-request",
433
+ "type": "option",
434
+ "description": "The name of the access point to be created",
435
+ "required": true,
436
+ "multiple": false
437
+ }
438
+ },
439
+ "args": {}
440
+ },
441
+ "web:api:create-url-replacement": {
442
+ "id": "web:api:create-url-replacement",
443
+ "description": "Create a new url replacement for the test plan",
444
+ "strict": true,
445
+ "pluginName": "@autifyhq/autify-cli",
446
+ "pluginAlias": "@autifyhq/autify-cli",
447
+ "pluginType": "core",
448
+ "aliases": [],
449
+ "examples": [
450
+ "<%= config.bin %> <%= command.id %>"
451
+ ],
452
+ "flags": {
453
+ "test-plan-id": {
454
+ "name": "test-plan-id",
455
+ "type": "option",
456
+ "description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
457
+ "required": true,
458
+ "multiple": false
459
+ },
460
+ "create-url-replacement-request": {
461
+ "name": "create-url-replacement-request",
462
+ "type": "option",
463
+ "description": "The url to replace",
464
+ "required": true,
465
+ "multiple": false
466
+ }
467
+ },
468
+ "args": {}
469
+ },
470
+ "web:api:delete-access-point": {
471
+ "id": "web:api:delete-access-point",
472
+ "description": "You can delete an access point by passing in its name.",
473
+ "strict": true,
474
+ "pluginName": "@autifyhq/autify-cli",
475
+ "pluginAlias": "@autifyhq/autify-cli",
476
+ "pluginType": "core",
477
+ "aliases": [],
478
+ "examples": [
479
+ "<%= config.bin %> <%= command.id %>"
480
+ ],
481
+ "flags": {
482
+ "project-id": {
483
+ "name": "project-id",
484
+ "type": "option",
485
+ "description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
486
+ "required": true,
487
+ "multiple": false
488
+ },
489
+ "delete-access-point-request": {
490
+ "name": "delete-access-point-request",
491
+ "type": "option",
492
+ "description": "The name of the access point to be deleted",
493
+ "required": true,
494
+ "multiple": false
495
+ }
496
+ },
497
+ "args": {}
498
+ },
499
+ "web:api:delete-url-replacement": {
500
+ "id": "web:api:delete-url-replacement",
501
+ "description": "Delete a url replacement for the test plan",
502
+ "strict": true,
503
+ "pluginName": "@autifyhq/autify-cli",
504
+ "pluginAlias": "@autifyhq/autify-cli",
505
+ "pluginType": "core",
506
+ "aliases": [],
507
+ "examples": [
508
+ "<%= config.bin %> <%= command.id %>"
509
+ ],
510
+ "flags": {
511
+ "test-plan-id": {
512
+ "name": "test-plan-id",
513
+ "type": "option",
514
+ "description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
515
+ "required": true,
516
+ "multiple": false
517
+ },
518
+ "url-replacement-id": {
519
+ "name": "url-replacement-id",
520
+ "type": "option",
521
+ "description": "url_replacement id",
522
+ "required": true,
523
+ "multiple": false
524
+ }
525
+ },
526
+ "args": {}
527
+ },
528
+ "web:api:describe-result": {
529
+ "id": "web:api:describe-result",
530
+ "description": "Get a test result.",
531
+ "strict": true,
532
+ "pluginName": "@autifyhq/autify-cli",
533
+ "pluginAlias": "@autifyhq/autify-cli",
534
+ "pluginType": "core",
535
+ "aliases": [],
536
+ "examples": [
537
+ "<%= config.bin %> <%= command.id %>"
538
+ ],
539
+ "flags": {
540
+ "project-id": {
541
+ "name": "project-id",
542
+ "type": "option",
543
+ "description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results/4",
544
+ "required": true,
545
+ "multiple": false
546
+ },
547
+ "result-id": {
548
+ "name": "result-id",
549
+ "type": "option",
550
+ "description": "For example, 4 for the following URL: https://app.autify.com/projects/1/results/4",
551
+ "required": true,
552
+ "multiple": false
553
+ }
554
+ },
555
+ "args": {}
556
+ },
557
+ "web:api:describe-scenario": {
558
+ "id": "web:api:describe-scenario",
559
+ "description": "Get a scenario.",
560
+ "strict": true,
561
+ "pluginName": "@autifyhq/autify-cli",
562
+ "pluginAlias": "@autifyhq/autify-cli",
563
+ "pluginType": "core",
564
+ "aliases": [],
565
+ "examples": [
566
+ "<%= config.bin %> <%= command.id %>"
567
+ ],
568
+ "flags": {
569
+ "project-id": {
570
+ "name": "project-id",
571
+ "type": "option",
572
+ "description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2",
573
+ "required": true,
574
+ "multiple": false
575
+ },
576
+ "scenario-id": {
577
+ "name": "scenario-id",
578
+ "type": "option",
579
+ "description": "For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2",
580
+ "required": true,
581
+ "multiple": false
582
+ }
583
+ },
584
+ "args": {}
585
+ },
586
+ "web:api:execute-scenarios": {
587
+ "id": "web:api:execute-scenarios",
588
+ "description": "You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).",
589
+ "strict": true,
590
+ "pluginName": "@autifyhq/autify-cli",
591
+ "pluginAlias": "@autifyhq/autify-cli",
592
+ "pluginType": "core",
593
+ "aliases": [],
594
+ "examples": [
595
+ "<%= config.bin %> <%= command.id %>"
596
+ ],
597
+ "flags": {
598
+ "project-id": {
599
+ "name": "project-id",
600
+ "type": "option",
601
+ "description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
602
+ "required": true,
603
+ "multiple": false
604
+ },
605
+ "execute-scenarios-request": {
606
+ "name": "execute-scenarios-request",
607
+ "type": "option",
608
+ "description": "The scenarios and settings to execute",
609
+ "required": true,
610
+ "multiple": false
611
+ }
612
+ },
613
+ "args": {}
614
+ },
615
+ "web:api:execute-schedule": {
616
+ "id": "web:api:execute-schedule",
617
+ "description": "\"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.",
618
+ "strict": true,
619
+ "pluginName": "@autifyhq/autify-cli",
620
+ "pluginAlias": "@autifyhq/autify-cli",
621
+ "pluginType": "core",
622
+ "aliases": [],
623
+ "examples": [
624
+ "<%= config.bin %> <%= command.id %>"
625
+ ],
626
+ "flags": {
627
+ "schedule-id": {
628
+ "name": "schedule-id",
629
+ "type": "option",
630
+ "description": "For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3",
631
+ "required": true,
632
+ "multiple": false
633
+ },
634
+ "execute-schedule-request": {
635
+ "name": "execute-schedule-request",
636
+ "type": "option",
637
+ "description": "The options to execute a test plan.",
638
+ "required": false,
639
+ "multiple": false
640
+ }
641
+ },
642
+ "args": {}
643
+ },
644
+ "web:api:list-access-points": {
645
+ "id": "web:api:list-access-points",
646
+ "description": "List access points for the project.",
647
+ "strict": true,
648
+ "pluginName": "@autifyhq/autify-cli",
649
+ "pluginAlias": "@autifyhq/autify-cli",
650
+ "pluginType": "core",
651
+ "aliases": [],
652
+ "examples": [
653
+ "<%= config.bin %> <%= command.id %>"
654
+ ],
655
+ "flags": {
656
+ "project-id": {
657
+ "name": "project-id",
658
+ "type": "option",
659
+ "description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
660
+ "required": true,
661
+ "multiple": false
662
+ },
663
+ "page": {
664
+ "name": "page",
665
+ "type": "option",
666
+ "description": "The number of page returns.",
667
+ "required": false,
668
+ "multiple": false
669
+ }
670
+ },
671
+ "args": {}
672
+ },
673
+ "web:api:list-capabilities": {
674
+ "id": "web:api:list-capabilities",
675
+ "description": "List available Capabilities.",
676
+ "strict": true,
677
+ "pluginName": "@autifyhq/autify-cli",
678
+ "pluginAlias": "@autifyhq/autify-cli",
679
+ "pluginType": "core",
680
+ "aliases": [],
681
+ "examples": [
682
+ "<%= config.bin %> <%= command.id %>"
683
+ ],
684
+ "flags": {
685
+ "project-id": {
686
+ "name": "project-id",
687
+ "type": "option",
688
+ "description": "For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities",
689
+ "required": true,
690
+ "multiple": false
691
+ },
692
+ "os": {
693
+ "name": "os",
694
+ "type": "option",
695
+ "description": "os name to filter",
696
+ "required": false,
697
+ "multiple": false
698
+ },
699
+ "browser": {
700
+ "name": "browser",
701
+ "type": "option",
702
+ "description": "browser name to filter",
703
+ "required": false,
704
+ "multiple": false
705
+ },
706
+ "device-type": {
707
+ "name": "device-type",
708
+ "type": "option",
709
+ "description": "device_type name to filter",
710
+ "required": false,
711
+ "multiple": false
712
+ }
713
+ },
714
+ "args": {}
715
+ },
716
+ "web:api:list-results": {
717
+ "id": "web:api:list-results",
718
+ "description": "List test results.",
719
+ "strict": true,
720
+ "pluginName": "@autifyhq/autify-cli",
721
+ "pluginAlias": "@autifyhq/autify-cli",
722
+ "pluginType": "core",
723
+ "aliases": [],
724
+ "examples": [
725
+ "<%= config.bin %> <%= command.id %>"
726
+ ],
727
+ "flags": {
728
+ "project-id": {
729
+ "name": "project-id",
730
+ "type": "option",
731
+ "description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results",
732
+ "required": true,
733
+ "multiple": false
734
+ },
735
+ "page": {
736
+ "name": "page",
737
+ "type": "option",
738
+ "description": "The number of page returns.",
739
+ "required": false,
740
+ "multiple": false
741
+ },
742
+ "per-page": {
743
+ "name": "per-page",
744
+ "type": "option",
745
+ "description": "The number of items returns. Default number is 30 and up to a maximum of 100",
746
+ "required": false,
747
+ "multiple": false
748
+ },
749
+ "test-plan-id": {
750
+ "name": "test-plan-id",
751
+ "type": "option",
752
+ "description": "Test plan ID used to filter results.",
753
+ "required": false,
754
+ "multiple": false
755
+ }
756
+ },
757
+ "args": {}
758
+ },
759
+ "web:api:list-scenarios": {
760
+ "id": "web:api:list-scenarios",
761
+ "description": "List scenarios.",
762
+ "strict": true,
763
+ "pluginName": "@autifyhq/autify-cli",
764
+ "pluginAlias": "@autifyhq/autify-cli",
765
+ "pluginType": "core",
766
+ "aliases": [],
767
+ "examples": [
768
+ "<%= config.bin %> <%= command.id %>"
769
+ ],
770
+ "flags": {
771
+ "project-id": {
772
+ "name": "project-id",
773
+ "type": "option",
774
+ "description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
775
+ "required": true,
776
+ "multiple": false
777
+ },
778
+ "page": {
779
+ "name": "page",
780
+ "type": "option",
781
+ "description": "The number of page returns.",
782
+ "required": false,
783
+ "multiple": false
784
+ }
785
+ },
786
+ "args": {}
787
+ },
788
+ "web:api:list-url-replacements": {
789
+ "id": "web:api:list-url-replacements",
790
+ "description": "List url replacements for the test plan",
791
+ "strict": true,
792
+ "pluginName": "@autifyhq/autify-cli",
793
+ "pluginAlias": "@autifyhq/autify-cli",
794
+ "pluginType": "core",
795
+ "aliases": [],
796
+ "examples": [
797
+ "<%= config.bin %> <%= command.id %>"
798
+ ],
799
+ "flags": {
800
+ "test-plan-id": {
801
+ "name": "test-plan-id",
802
+ "type": "option",
803
+ "description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
804
+ "required": true,
805
+ "multiple": false
806
+ }
807
+ },
808
+ "args": {}
809
+ },
810
+ "web:api:update-url-replacement": {
811
+ "id": "web:api:update-url-replacement",
812
+ "description": "Update a url replacement for the test plan",
813
+ "strict": true,
814
+ "pluginName": "@autifyhq/autify-cli",
815
+ "pluginAlias": "@autifyhq/autify-cli",
816
+ "pluginType": "core",
817
+ "aliases": [],
818
+ "examples": [
819
+ "<%= config.bin %> <%= command.id %>"
820
+ ],
821
+ "flags": {
822
+ "test-plan-id": {
823
+ "name": "test-plan-id",
824
+ "type": "option",
825
+ "description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
826
+ "required": true,
827
+ "multiple": false
828
+ },
829
+ "url-replacement-id": {
830
+ "name": "url-replacement-id",
831
+ "type": "option",
832
+ "description": "url_replacement id",
833
+ "required": true,
834
+ "multiple": false
835
+ },
836
+ "update-url-replacement-request": {
837
+ "name": "update-url-replacement-request",
838
+ "type": "option",
839
+ "description": "The url to replace. Either pattern_url or replacement_url is required.",
840
+ "required": true,
841
+ "multiple": false
842
+ }
843
+ },
844
+ "args": {}
845
+ },
846
+ "web:auth:login": {
847
+ "id": "web:auth:login",
848
+ "description": "Login to Autify for Web",
849
+ "strict": true,
850
+ "pluginName": "@autifyhq/autify-cli",
851
+ "pluginAlias": "@autifyhq/autify-cli",
852
+ "pluginType": "core",
853
+ "aliases": [],
854
+ "examples": [
855
+ "Start interactive setup:\n<%= config.bin %> <%= command.id %>",
856
+ "Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
857
+ ],
858
+ "flags": {},
859
+ "args": {}
860
+ },
861
+ "web:test:run": {
862
+ "id": "web:test:run",
863
+ "description": "Run a scenario or test plan.",
864
+ "strict": true,
865
+ "pluginName": "@autifyhq/autify-cli",
866
+ "pluginAlias": "@autifyhq/autify-cli",
867
+ "pluginType": "core",
868
+ "aliases": [],
869
+ "examples": [
870
+ "Run a test scenario (Default capability):\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000",
871
+ "Run a test plan:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/test_plans/0000",
872
+ "Run and wait a test scenario:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --timeout 600",
873
+ "Run a test scenario with a specific capability:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --os \"Windows Server\" --browser Edge",
874
+ "With URL replacements:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 -r http://example.com=http://example.net -r http://example.org=http://example.net",
875
+ "Run a test with specifying the execution name:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --name \"Sample execution\"",
876
+ "Run a test scenario with Autify Connect:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --autify-connect NAME",
877
+ "Run a test scenario with Autify Connect Client:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client"
878
+ ],
879
+ "flags": {
880
+ "name": {
881
+ "name": "name",
882
+ "type": "option",
883
+ "char": "n",
884
+ "description": "[Only for test scenario] Name of the test execution.",
885
+ "multiple": false
886
+ },
887
+ "url-replacements": {
888
+ "name": "url-replacements",
889
+ "type": "option",
890
+ "char": "r",
891
+ "description": "URL replacements. Example: http://example.com=http://example.net",
892
+ "multiple": true
893
+ },
894
+ "autify-connect": {
895
+ "name": "autify-connect",
896
+ "type": "option",
897
+ "description": "Name of the Autify Connect Access Point.",
898
+ "multiple": false,
899
+ "exclusive": [
900
+ "autify-connect-client"
901
+ ]
902
+ },
903
+ "autify-connect-client": {
904
+ "name": "autify-connect-client",
905
+ "type": "boolean",
906
+ "description": "Start Autify Connect Client",
907
+ "allowNo": false,
908
+ "dependsOn": [
909
+ "wait"
910
+ ],
911
+ "exclusive": [
912
+ "autify-connect"
913
+ ]
914
+ },
915
+ "autify-connect-client-verbose": {
916
+ "name": "autify-connect-client-verbose",
917
+ "type": "boolean",
918
+ "description": "Verbose output for Autify Connect Client.",
919
+ "allowNo": false,
920
+ "dependsOn": [
921
+ "autify-connect-client"
922
+ ]
923
+ },
924
+ "autify-connect-client-file-logging": {
925
+ "name": "autify-connect-client-file-logging",
926
+ "type": "boolean",
927
+ "description": "Logging Autify Connect Client log to a file instead of console.",
928
+ "allowNo": false,
929
+ "dependsOn": [
930
+ "autify-connect-client"
931
+ ]
932
+ },
933
+ "autify-connect-client-debug-server-port": {
934
+ "name": "autify-connect-client-debug-server-port",
935
+ "type": "option",
936
+ "description": "Port for Autify Connect Client debug server. A random port will be used if not specified.",
937
+ "multiple": false,
938
+ "dependsOn": [
939
+ "autify-connect-client"
940
+ ]
941
+ },
942
+ "autify-connect-client-extra-arguments": {
943
+ "name": "autify-connect-client-extra-arguments",
944
+ "type": "option",
945
+ "description": "Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".",
946
+ "multiple": false,
947
+ "dependsOn": [
948
+ "autify-connect-client"
949
+ ]
950
+ },
951
+ "os": {
952
+ "name": "os",
953
+ "type": "option",
954
+ "description": "[Only for test scenario] OS to run the test",
955
+ "multiple": false
956
+ },
957
+ "os-version": {
958
+ "name": "os-version",
959
+ "type": "option",
960
+ "description": "[Only for test scenario] OS version to run the test",
961
+ "multiple": false
962
+ },
963
+ "browser": {
964
+ "name": "browser",
965
+ "type": "option",
966
+ "description": "[Only for test scenario] Browser to run the test",
967
+ "multiple": false
968
+ },
969
+ "device": {
970
+ "name": "device",
971
+ "type": "option",
972
+ "description": "[Only for test scenario] Device to run the test",
973
+ "multiple": false
974
+ },
975
+ "device-type": {
976
+ "name": "device-type",
977
+ "type": "option",
978
+ "description": "[Only for test scenario] Device type to run the test",
979
+ "multiple": false
980
+ },
981
+ "wait": {
982
+ "name": "wait",
983
+ "type": "boolean",
984
+ "char": "w",
985
+ "description": "Wait until the test finishes.",
986
+ "allowNo": false
987
+ },
988
+ "timeout": {
989
+ "name": "timeout",
990
+ "type": "option",
991
+ "char": "t",
992
+ "description": "Timeout seconds when waiting for the finish of the test execution.",
993
+ "multiple": false,
994
+ "default": 300
995
+ },
996
+ "verbose": {
997
+ "name": "verbose",
998
+ "type": "boolean",
999
+ "char": "v",
1000
+ "description": "Verbose output",
1001
+ "allowNo": false
1002
+ },
1003
+ "max-retry-count": {
1004
+ "name": "max-retry-count",
1005
+ "type": "option",
1006
+ "description": "Maximum retry count while waiting. The command can take up to `timeout * (max-retry-count + 1)`. Only effective with `--wait`.",
1007
+ "multiple": false,
1008
+ "default": 0
1009
+ }
1010
+ },
1011
+ "args": {
1012
+ "scenario-or-test-plan-url": {
1013
+ "name": "scenario-or-test-plan-url",
1014
+ "description": "Scenario URL or Test plan URL e.g. https://app.autify.com/projects/<ID>/(scenarios|test_plans)/<ID>",
1015
+ "required": true
1016
+ }
1017
+ }
1018
+ },
1019
+ "web:test:wait": {
1020
+ "id": "web:test:wait",
1021
+ "description": "Wait a test result until it finishes.",
1022
+ "strict": true,
1023
+ "pluginName": "@autifyhq/autify-cli",
1024
+ "pluginAlias": "@autifyhq/autify-cli",
1025
+ "pluginType": "core",
1026
+ "aliases": [],
1027
+ "examples": [
1028
+ "<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/results/0000"
1029
+ ],
1030
+ "flags": {
1031
+ "timeout": {
1032
+ "name": "timeout",
1033
+ "type": "option",
1034
+ "char": "t",
1035
+ "description": "Timeout seconds when waiting for the finish of the test execution.",
1036
+ "multiple": false,
1037
+ "default": 300
1038
+ },
1039
+ "verbose": {
1040
+ "name": "verbose",
1041
+ "type": "boolean",
1042
+ "char": "v",
1043
+ "description": "Verbose output",
1044
+ "allowNo": false
1045
+ }
1046
+ },
1047
+ "args": {
1048
+ "test-result-url": {
1049
+ "name": "test-result-url",
1050
+ "description": "Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>",
1051
+ "required": true
1052
+ }
1053
+ }
1054
+ }
1055
+ }
1056
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autifyhq/autify-cli",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "Autify Command Line Interface (CLI)",
5
5
  "author": "Autify",
6
6
  "bin": {
@@ -18,12 +18,12 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@autifyhq/autify-sdk": "^0.11.0",
21
- "@oclif/core": "^1.23.1",
21
+ "@oclif/core": "^1.26.1",
22
22
  "@oclif/errors": "^1.3.6",
23
- "@oclif/plugin-help": "^5.1.22",
24
- "@oclif/plugin-not-found": "^2.3.13",
25
- "@oclif/plugin-update": "^3.0.11",
26
- "@oclif/plugin-warn-if-update-available": "^2.0.18",
23
+ "@oclif/plugin-help": "^5.2.2",
24
+ "@oclif/plugin-not-found": "^2.3.17",
25
+ "@oclif/plugin-update": "^3.1.1",
26
+ "@oclif/plugin-warn-if-update-available": "^2.0.24",
27
27
  "abort-controller": "^3.0.0",
28
28
  "archiver": "^5.3.1",
29
29
  "envfile": "^6.18.0",
@@ -31,10 +31,10 @@
31
31
  "inquirer": "^8.2.5",
32
32
  "listr": "^0.14.3",
33
33
  "node-emoji": "^1.11.0",
34
- "node-fetch": "^2.6.7",
34
+ "node-fetch": "^2.6.9",
35
35
  "node-stream-zip": "^1.15.0",
36
36
  "per-env": "^1.0.2",
37
- "shell-quote": "^1.7.4",
37
+ "shell-quote": "^1.8.0",
38
38
  "tar": "^6.1.13",
39
39
  "tempy": "^3.0.0",
40
40
  "tsimportlib": "^0.0.3",
@@ -42,11 +42,11 @@
42
42
  "uuid": "^8.3.2",
43
43
  "which": "^2.0.2",
44
44
  "winston": "^3.8.2",
45
- "xstate": "^4.35.1"
45
+ "xstate": "^4.35.4"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@autifyhq/autify-cli-integration-test": "*",
49
- "@oclif/test": "^2.2.19",
49
+ "@oclif/test": "^2.3.4",
50
50
  "@types/archiver": "^5.3.1",
51
51
  "@types/chai": "^4.3.4",
52
52
  "@types/inquirer": "^8.2.5",
@@ -68,15 +68,15 @@
68
68
  "husky": "^8.0.3",
69
69
  "lint-staged": "^13.1.0",
70
70
  "mocha": "^9.2.2",
71
- "oclif": "^3.4.3",
71
+ "oclif": "^3.6.1",
72
72
  "patch-package": "^6.5.1",
73
- "prettier": "^2.8.1",
73
+ "prettier": "^2.8.3",
74
74
  "shx": "^0.3.4",
75
75
  "ts-morph": "^14.0.0",
76
76
  "ts-node": "^10.9.1",
77
- "tslib": "^2.4.1",
77
+ "tslib": "^2.5.0",
78
78
  "typed-emitter": "^2.1.0",
79
- "typescript": "^4.9.4"
79
+ "typescript": "^4.9.5"
80
80
  },
81
81
  "oclif": {
82
82
  "bin": "autify",