cli.wind.js
v1.0.1
Published
CLI for creating new wind.js backed projects
Downloads
10
Maintainers
Readme
Command Line Interface for bootstrapping new projects with wind.js.
Installation
$> npm i cli.wind.js -g
Usage
Usage: cli.wind.js [options] [command]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
new [options] <project-name> [prototype]
list [options]
You can check the usage of your current cli.wind.js version with the following command:
$> cli.wind.js --help
Examples
How to check the list of available standard prototypes:
$> cli.wind.js list
[info] There are 1 standard prototypes.
[info] Prototype ui.poc < https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/ >
[info] Prototype based on a ui.wind.js proof of concept. It implements a basic todo-list application with support for SASS, ES6 and asynchronous actors. Basic build and development environment with webpack, jest and testkit.wind.js.
[info] URL https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip
[info] MD5 https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip.md5
[info] You can create a new project based on this prototype with the following command:
[info] cli.wind.js new my-project-name ui.poc
How to create a new project from a standard template:
$> cli.wind.js new example-project ui.poc
[info] Creating directory ./__tmp for storing local downloads.
[fine] We will clean up everything when the project is ready.
[info] Resolving prototype with the following information:
[info] Prototype Name: ui.poc
[info] We are going to download the following prototype:
[info] Prototype URL: https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip
[info] Prototype MD5 URL: https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip.md5
[info] Downloading and verifying... it may take a while.
[fine] Prototype downloaded succesfully at example-project/
[info] Now we will generate the project from the template, this will take some time.
[fine] Ready to go!
[info] Remember that you have other resources and documentation:
[info] ui.wind.js: https://github.com/CodeInBrackets/ui.wind.js
[info] wind.js: https://github.com/CodeInBrackets/wind.js
[info] testkit.wind.js: https://github.com/CodeInBrackets/testkit.wind.js
[fine] Happy hacking!
How to create a project from custom zip and md5 file:
$> cli.wind.js new example-project --prototype-url=https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip --md5-url=https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip.md5
[info] Creating directory ./__tmp for storing local downloads.
[fine] We will clean up everything when the project is ready.
[info] Resolving prototype with the following information:
[info] Prototype URL: https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip
[info] Prototype MD5 URL: https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip.md5
[info] We are going to download the following prototype:
[info] Prototype URL: https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip
[info] Prototype MD5 URL: https://github.com/CodeInBrackets/ui.wind.js-poc-todolist/releases/download/v1.0.0/ui.wind.js-poc-todolist-master.zip.md5
[info] Downloading and verifying... it may take a while.
[fine] Prototype downloaded succesfully at example-project/
[info] Now we will generate the project from the template, this will take some time.
[fine] Ready to go!
[info] Remember that you have other resources and documentation:
[info] ui.wind.js: https://github.com/CodeInBrackets/ui.wind.js
[info] wind.js: https://github.com/CodeInBrackets/wind.js
[info] testkit.wind.js: https://github.com/CodeInBrackets/testkit.wind.js
[fine] Happy hacking!
Logo
Player graphic by pixel_perfect from Flaticon is licensed under CC BY 3.0. Check out the new logo that I created on LogoMakr.com https://logomakr.com/8CWVt1