Command line tool for AngularJS Express.
$ npm install -g ngx-cli
Initialize a boilerplate to kickstart a project:
$ ngx init [options] [target-directory]
Boilerplate to initialize.
Format: [<github-username>/]<github-repository-name>
.
- if no boilerplate is specified,
ngx-boilerplates/default
is used - if only a
<github-repository-name>
is specified,ngx-boilerplates/<github-repository-name>
is used
Overwrite existing file(s).
Output usage information.
Where to initialize the boilerplate.
- if no
target-directory
is specified, the current directory is used
# Initialize ngx-boilerplates/default in current directory
$ ngx init
# Initialize ngx-boilerplates/default in directory new-project
$ ngx init new-project
# Initialize ngx-boilerplates/default in current directory
$ ngx init -b default
# Initialize github-username/github-repository-name in current directory
$ ngx init -b github-username/github-repository-name
Visit ngx-boilerplates for a list of official boilerplates.
Install a component in an existing project:
$ ngx install [options] <component> [target-directory]
Overwrite existing file(s).
Output usage information.
Component to install.
Format: [<github-username>/]<github-repository-name>
- if only a
<github-repository-name>
is specified,ngx-components/<github-repository-name>
is used
Where to install the component.
- if no
target-directory
is specified,src/components
is used
# Install ngx-components/angular-ui-router-component in src/components/angular-ui-router-component
$ ngx install angular-ui-router-component
# Install ngx-components/angular-ui-router-component in src/components/homepage
$ ngx install angular-ui-router-component src/components/homepage
# Install github-username/foo in src/components/foo
$ ngx install github-username/foo
# Install github-username/foo in src/components/bar
$ ngx install github-username/foo in src/components/bar
Visit ngx-components for a list of official components.
- Updated dependencies to work nicely with Node v4.
- Removed compile command
- Removed Harp dependency
- Updated documentation
- Added compile command
- Updated documentation
- Added support for installing components in
src/components
by default - Updated documentation
- Initial version