Usage

April 11, 2014 ยท View on GitHub

Command line Derby component.

Usage

Example usage

In your template

<view name="d-command-line" dash=">>> " on-new-command="newCommand()"></view>

In your app script

app.proto.newCommand = (command, callback) ->
  try
    callback null, eval(command)
  catch error
    callback error.message

Contents

  1. 1In your template
  2. 2In your app script