diff --git a/README.md b/README.md index d698c3f..2f3841a 100644 --- a/README.md +++ b/README.md @@ -104,18 +104,18 @@ Acts as a wrapper around the browserstack CLI and allows the operation of the CL ##### Gradle command ` -gradle browserstackCLIWrapper -PcliCommand="browserstack-cli-command-goes-here" +gradle browserstackCLIWrapper -Pcommand="browserstack-cli-command-goes-here" ` Example usage ``` -gradle browserstackCLIWrapper -PcliCommand="app-automate espresso run -a local-path-to-app-apk -t local-path-to-test-suite-apk" +gradle browserstackCLIWrapper -Pcommand="app-automate espresso run -a local-path-to-app-apk -t local-path-to-test-suite-apk" ``` You can refer to the existing browserstack CLI documentation [here](https://www.browserstack.com/app-automate/browserstack-cli) -Any Browserstack CLI command can directly be passed to the -PcliCommand parameter and it would execute the CLI command from gradle and push the output to stdout/terminal +Any Browserstack CLI command can directly be passed to the -Pcommand parameter and it would execute the CLI command from gradle and push the output to stdout/terminal diff --git a/build.gradle b/build.gradle index c0e8e25..a9ae7e5 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { id 'com.gradle.plugin-publish' version '0.11.0' } -version '3.1.1' +version '3.1.2' pluginBundle { website = 'https://www.browserstack.com' @@ -17,7 +17,7 @@ pluginBundle { description = 'Runs Espresso tests on BrowserStack' tags = ['espresso', 'test', 'browserstack', 'app', 'automate', 'app-automate', 'appautomate', 'app-live', 'applive'] - version = '3.1.1' + version = '3.1.2' } } } diff --git a/src/main/java/com/browserstack/gradle/BrowserStackPlugin.java b/src/main/java/com/browserstack/gradle/BrowserStackPlugin.java index 8e744e4..e2e8d89 100644 --- a/src/main/java/com/browserstack/gradle/BrowserStackPlugin.java +++ b/src/main/java/com/browserstack/gradle/BrowserStackPlugin.java @@ -85,12 +85,12 @@ public void apply(Project project) { "For reference on Browserstack CLI please visit https://www.browserstack.com/app-automate/browserstack-cli\n" + "\n" + "\n" + - "Any CLI command passed in the custom option -PcliCommand will be executed and the results will be displayed on the terminal.\n" + + "Any CLI command passed in the custom option -Pcommand will be executed and the results will be displayed on the terminal.\n" + "\n" + "\n" + "For example:\n" + "\n" + - "gradle browserstackCLIWrapper -PcliCommand=”app-automate apps”\n" + + "gradle browserstackCLIWrapper -Pcommand=”app-automate apps”\n" + "\n" + "The browserstack CLI command app-automate apps would run and the result will be displayed on the terminal. ");