term ember
Run Ember.js in your terminal!
Install
Requirements:
$ npm install -g term-ember
Usage
$ term-ember
You can touch Ember
object in window
context.
term ember> Ember.VERSION
'1.9.0
Features
Require external scripts
term ember> require('./my-app');
Avairable languages are:
Execute files
$ term-ember my_script.js
Evaluate script
$ term-ember -e "console.log(Ember.VERSION)"
1.9.0
Require file(s)
You can require your script file before term-ember start:
$ term-ember -r my_script.js
term ember>
Switch library versions
You can use --ember
option to switch version of Ember.js.
$ term-ember --ember latest
Options
$ term-ember --help
Usage: term-ember [options]
Options:
-h, --help output usage information
-V, --version output the version number
-r, --require <file> Require file(s) before start term-ember
-e, --eval <script> Evaluate script before start term-ember
--ember <version> A version of Ember.js (defaults to 1.9.0)
--handlebars <version> A version of Handlebars (defaults to 2.0.0)
--jquery <version> A version of jQuery (defaults to 2.1.1)
--clear Clear cached JavaScript libraries
License
(The MIT License)
Copyright (c) 2013 Ryunosuke SATO <tricknotes.rs@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.