Skip to content

Commit 070d8c2

Browse files
author
Dimitra Zuccarelli
authored
Merge pull request #67 from dimitraz/cli-updates
CLI updates
2 parents 9afe681 + f26ee69 commit 070d8c2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ The proposal process also requires two approvals from the community before mergi
7474
## Stay in touch
7575

7676
* IRC: Join the conversation on Freenode: #aerogear
77-
* Email: Subscribe to the [aerogear mailing list](https://lists.jboss.org/mailman/listinfo/aerogear-dev)
77+
* Email: Subscribe to the [aerogear mailing list](https://groups.google.com/forum/#!forum/aerogear)

pkg/cmd/clients.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Run the "mobile get clients" command from this tool to get the client ID.`,
126126
// CreateClientCmd builds the create mobileclient command
127127
func (cc *ClientCmd) CreateClientCmd() *cobra.Command {
128128
cmd := &cobra.Command{
129-
Use: "client <name> <clientType iOS|cordova|android> <appIdentifier bundleID|packageName >",
129+
Use: "client <name> <clientType iOS|cordova|android> <appIdentifier bundleID|packageName>",
130130
Short: "create a mobile client representation in your namespace",
131131
Long: `create client sets up the representation of a mobile application of the specified type in your namespace.
132132
This is used to provide a mobile client context for various actions such as creating, starting or stopping mobile client builds.

pkg/cmd/services.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Run the "mobile get services" command from this tool to see which services are a
263263
validInput := false
264264
val := ""
265265
for validInput == false {
266-
questionFormat := "Set value for %s [default value: %s required: %v]"
266+
questionFormat := "Set value for %s [default value: %s, required: %v]"
267267
if v["default"] != nil {
268268
fmt.Println(fmt.Sprintf(questionFormat, k, v["default"], requiredParam(*instParams, k)))
269269
} else {
@@ -289,7 +289,7 @@ Run the "mobile get services" command from this tool to see which services are a
289289
}
290290
v["value"] = val
291291
instParams.Properties[k] = v
292-
fmt.Println("set value for " + k + " to : " + val)
292+
fmt.Println(fmt.Sprintf("Value for %s set to: %s", k, val))
293293
}
294294
}
295295

0 commit comments

Comments
 (0)