LinuxCommandLibrary

ember

command-line interface for Ember.js framework

TLDR

Create new Ember app

$ ember new [app-name]
copy
Generate component
$ ember generate component [component-name]
copy
Start development server
$ ember serve
copy
Build for production
$ ember build --environment production
copy
Run tests
$ ember test
copy
Install addon
$ ember install [addon-name]
copy

SYNOPSIS

ember command [options]

DESCRIPTION

ember is the command-line interface for Ember.js, a JavaScript framework for building ambitious web applications. It handles project scaffolding, development, building, and testing.
The CLI provides generators for creating components, routes, services, and other Ember constructs following conventions. The development server includes live reload.
Ember CLI manages dependencies, build configuration, and addon installation, providing a complete development workflow.

PARAMETERS

COMMAND

Ember CLI command: new, generate, serve, build, test, install.
new NAME
Create new application.
generate TYPE NAME
Generate blueprint (component, route, etc.).
serve, s
Start development server.
build, b
Build application.
test, t
Run test suite.
install ADDON
Install Ember addon.
--help
Display help information.

CONFIGURATION

.ember-cli

Project-specific Ember CLI configuration file.
config/environment.js
Main application configuration including API endpoints, feature flags, and environment-specific settings.

CAVEATS

Requires Node.js and npm. Large initial project size. Convention-heavy approach has learning curve. Some addons may not be maintained.

HISTORY

Ember CLI was created to provide a standard toolchain for Ember.js development. Ember.js itself was created by Yehuda Katz (also known for jQuery and Rust's Cargo) and Tom Dale, released in 2011.

SEE ALSO

npm(1), node(1), angular(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community