d-command-line

0.0.2 • Public • Published

d-command-line

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i d-command-line

      Weekly Downloads

      2

      Version

      0.0.2

      License

      MIT

      Last publish

      Collaborators

      • icaliman