cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cjpearson <...@git.apache.org>
Subject [GitHub] cordova-android pull request: CB-7827: Allow user to specify andro...
Date Mon, 23 Feb 2015 18:22:53 GMT
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.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message