1 | # cli
|
2 |
|
3 | Command line to for node and emberjs shorcut commands
|
4 |
|
5 | ## Install
|
6 |
|
7 | ```
|
8 | npm i -g @busy-web/cli
|
9 | ```
|
10 |
|
11 | ## Docs
|
12 |
|
13 |
|
14 |
|
15 | #### Usage:
|
16 | ##### busyweb ‹command› [options]
|
17 |
|
18 | #### OPTIONS:
|
19 | ##### -b, --boring Hide title and version information and remove empty new lines
|
20 |
|
21 | #### Example:
|
22 | ##### busyweb help => print usage information
|
23 |
|
24 | #### Commands:
|
25 | ##### deploy ‹build›
|
26 | deploy build to server. ARGS build: [ docker | canary | alpha | beta | staging | prod | production ] ( not supported yet )
|
27 | Alias: d
|
28 |
|
29 | ##### dev:clean
|
30 | remove packages, and build files
|
31 | Alias: dev:c
|
32 |
|
33 | ##### dev:install
|
34 | clean project install fresh packages
|
35 | Alias: dev:i
|
36 | Options:
|
37 | -r, --rebuild removes the lockfile and generates a new lockfile based on current package.json only on <install>
|
38 |
|
39 | ##### dev:update
|
40 | install missing packages
|
41 | Alias: dev:up
|
42 |
|
43 | ##### dev:upgrade
|
44 | update packages and regenerate yarn.lock file
|
45 | Alias: dev:u
|
46 |
|
47 | ##### docker ‹config› ‹EMBER_CONFIG.PATH:DOCKER_ENV...›
|
48 | DEPRECATED: Please use `env:config` inplace of `docker config`
|
49 | injects docker config into built ember app
|
50 |
|
51 | ##### ember:init
|
52 | installs new files from the current installed version of ember-cli. (ember:update should be ran first)
|
53 | Alias: em:i
|
54 | Options:
|
55 | -d, --diff use git difftool to merge files after init
|
56 |
|
57 | ##### ember:update [version]
|
58 | update ember-cli locally or globally
|
59 | Alias: em:up
|
60 | Options:
|
61 | -g, --global update global ember install
|
62 | -d, --dry performs a dry run where no update will be performed
|
63 |
|
64 | ##### env:config ‹EMBER_CONFIG.PATH:ENV_VAR...›
|
65 | injects ENV variables into and ember app config/environment
|
66 | Alias: env:c
|
67 | Options:
|
68 | -p, --path <path> path/to/folder where file config changes are. ( default: Current Working Directory )
|
69 | -f, --file <name> filename to replace config settings for. ( default: index.html )
|
70 | -r, --require throw error if config or ENV settings do not exist. ( default: false )
|
71 |
|
72 | ##### release ‹type›
|
73 | tag a new version to be released with a git tag. ARGS type: [ patch | docker | canary | alpha | beta | prod ]
|
74 | Alias: r
|
75 | Options:
|
76 | -l, --local prevents tag from pushing to upstream remote
|
77 | -u, --upstream <name> upstream remote name to push release tags, default: origin
|
78 |
|
79 | ##### template ‹type› ‹name›
|
80 | creates a new template file. (not supported yet)
|
81 | Alias: t
|
82 | Options:
|
83 | -d, --delete deletes a template file
|
84 |
|
85 |
|
86 |
|
87 |
|
88 | ## Contribute
|
89 |
|
90 | Contributions are welcome.
|
91 | 1. Fork the repo and make the desired changes.
|
92 | 2. `yarn run docs` to regenerate readme file.
|
93 | 3. Then submit a PR request for review.
|