mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-25 16:31:03 +00:00
17 lines
360 B
JavaScript
17 lines
360 B
JavaScript
#!/usr/bin/env node
|
|
|
|
// http://coffeescript.org/documentation/docs/register.html
|
|
require('coffee-script/register');
|
|
|
|
var device = require('../lib/actions/device.coffee');
|
|
var errors = require('../lib/errors/errors');
|
|
|
|
device.init.action({
|
|
image: process.argv[2],
|
|
device: process.argv[3]
|
|
}, {
|
|
yes: true
|
|
}, function(error) {
|
|
return errors.handle(error);
|
|
});
|