d-command-line
v0.0.2
Published
Command line Derby component
Downloads
3
Readme
d-command-line
Command line Derby component.
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