0.0.7 • Published 7 years ago

ember-console v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

ember-console

Build Status Build status

get a console (REPL) to you fastboot capable ember-app

WARNING: still experimental, but ideas/help is wanted!

asciicast

Installation

yarn add ember-console

or

npm install ember-console

Usage

  1. ensure your app has ember-cli-fastboot >= 1.0.0-rc.1 installed and working
  2. build your app ember build
  3. run ember console and your app in dist/ is started in fastboot, and a repl to it is opened.

Available repl commands:

  • .help for repl specific commands
  • app
    • currentURL
    • routes
    • rootElement
    • lookup(fullName): enables looking up singletons, for example lookup('router:mian')
    • reload() reloads the app, if a new bulid has occured this can be used to reload new code.
    • visit(path) the fastboot visit helper, allowing you to manually navigate your app
    • instance the fastboot instance
    • sandbox the sandboxed global: for example Object.keys(sandbox.require.entries) will give you all the modules your app uses

Bonus

It is also possible to connect the console to a pre-built application (as long as it was built with fastboot)

ember build --output-path my-other-dist`
ember console --output-path my-pther-dist

asciicast

Development

Installation

  • git clone <repository-url> this repository
  • cd ember-console
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago