[
https://issues.apache.org/jira/browse/CB-7827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333615#comment-14333615
]
ASF GitHub Bot commented on CB-7827:
------------------------------------
Github user cjpearson commented on a diff in the pull request:
https://github.com/apache/cordova-android/pull/160#discussion_r25187348
--- Diff: bin/create ---
@@ -23,14 +23,15 @@ var create = require('./lib/create');
var args = require('./lib/simpleargs').getArgs(process.argv);
if (args['--help'] || args._.length === 0) {
- console.log('Usage: ' + path.relative(process.cwd(),
path.join(__dirname, 'create')) + ' <path_to_new_project> <package_name>
<project_name> [<template_path>] [--link]');
+ console.log('Usage: ' + path.relative(process.cwd(),
path.join(__dirname, 'create')) + ' <path_to_new_project> <package_name>
<project_name> <activity_name> [<template_path>] [--link]');
--- End diff --
I wasn't sure of the best way to make both template_path and activity_name
optional. I explored using --activity-name <activity_name> using nopt, which
cordova-ios uses for arguments.
> manifest/application/activity[android:name] always CordovaApp
> -------------------------------------------------------------
>
> Key: CB-7827
> URL: https://issues.apache.org/jira/browse/CB-7827
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 4.0.0
> Environment: Windows 8.1 x64, NodeJs 0.10.32
> Reporter: Sergey
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]