Comparing version 0.4.0 to 0.4.1
@@ -11,2 +11,3 @@ Usage: $0 remote [command] | ||
logout logout of PhoneGap/Build | ||
build <platform> build a specific platform | ||
@@ -13,0 +14,0 @@ Examples: |
{ | ||
"name": "phonegap", | ||
"description": "PhoneGap command-line interface and node.js library.", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"homepage": "http://github.com/mwbrooks/phonegap-cli", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -37,4 +37,23 @@ # PhoneGap CLI [![Build Status][travis-ci-img]][travis-ci-url] | ||
## Node.js | ||
#### Remote Usage | ||
Usage: phonegap remote [command] | ||
Description: | ||
Run commands for cloud-based development with PhoneGap/Build. | ||
Commands: | ||
login login to PhoneGap/Build | ||
logout logout of PhoneGap/Build | ||
build <platform> build a specific platform | ||
Examples: | ||
$ phonegap remote login | ||
$ phonegap remote build android | ||
## Node Library | ||
### Usage | ||
@@ -41,0 +60,0 @@ |
@@ -23,3 +23,3 @@ /* | ||
cli.argv({ _: ['help'] }); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/Commands:[\w\W]*\s+app/i); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/\n\s+app.*\n/i); | ||
}); | ||
@@ -26,0 +26,0 @@ }); |
@@ -23,3 +23,3 @@ /* | ||
cli.argv({ _: ['help'] }); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/Commands:[\w\W]*\s+create <path>/i); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/\n\s+create <path>.*\n/i); | ||
}); | ||
@@ -26,0 +26,0 @@ }); |
@@ -27,3 +27,3 @@ /* | ||
cli.argv({ _: ['help', 'remote'] }); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/Commands:[\w\W]*\s+build/i); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/\n\s+build <platform>.*\n/i); | ||
}); | ||
@@ -30,0 +30,0 @@ }); |
@@ -25,3 +25,3 @@ /* | ||
cli.argv({ _: ['help', 'remote'] }); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/Commands:[\w\W]*\s+login/i); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/\n\s+login.*\n/i); | ||
}); | ||
@@ -28,0 +28,0 @@ }); |
@@ -23,3 +23,3 @@ /* | ||
cli.argv({ _: ['help', 'remote'] }); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/Commands:[\w\W]*\s+logout/i); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/\n\s+logout.*\n/i); | ||
}); | ||
@@ -26,0 +26,0 @@ }); |
@@ -23,3 +23,3 @@ /* | ||
cli.argv({ _: ['help'] }); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/commands:[\w\W]*\s+remote/i); | ||
expect(stdout.mostRecentCall.args[0]).toMatch(/\n\s+remote \[command\].*\n/i); | ||
}); | ||
@@ -26,0 +26,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89034
71