[
https://issues.apache.org/jira/browse/CB-9964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15006207#comment-15006207
]
ASF GitHub Bot commented on CB-9964:
------------------------------------
GitHub user dubeejw opened a pull request:
https://github.com/apache/cordova-cli/pull/227
CB-9964 Make --copy-from use --template behavior
- Arguments are now handled for the --template parameter
- --copy-from now uses the same behavior as --template
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dubeejw/cordova-cli master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-cli/pull/227.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #227
----
commit a885c55118b7637cb483da5b6d32ef85d4949a18
Author: dubeejw <[email protected]>
Date: 2015-11-05T20:55:14Z
CB-9964 Added --template support to Cordova Create
- Templates can now be added to a project from GitHub, and NPM
commit 2b0c16d35077126397d0d9e9f3814bfb3b499f51
Author: dubeejw <[email protected]>
Date: 2015-11-05T21:01:16Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-cli
commit 0f6fa3808297122013085adb56b363031a9e9bf2
Author: dubeejw <[email protected]>
Date: 2015-11-16T03:25:37Z
CB-9964 Add --template to help, and remove --copy-from
- --template has been add to the help file
- --copy-from has been removed from the help file
commit 5a25f7f3a6a9434664ce9359ce6660b0633c2853
Author: dubeejw <[email protected]>
Date: 2015-11-16T03:37:31Z
CB-9964 Deprecate --copy-from
- Deprecated --copy-from in 'create help'
----
> Added a --template argument to Cordova Create
> ---------------------------------------------
>
> Key: CB-9964
> URL: https://issues.apache.org/jira/browse/CB-9964
> Project: Apache Cordova
> Issue Type: Improvement
> Components: CLI, CordovaLib
> Affects Versions: Master
> Reporter: James Dubee
> Labels: features
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When providing a --template argument during project creation, users can use
> templates apps from a local directory, GitHub, or NPM. This makes sharing
> templates, and example apps much easier.
> When using a GitHub URL, the user may specific a branch to pull from by
> appending a "#" followed by a tag name to the Git URL.
> A version can also be supplied by the user when fetching a template from NPM.
> This may be done by appending a "@" followed by the NPM version to the NPM
> package name.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]