Commit Graph

466 Commits

Author SHA1 Message Date
Juan Cruz Viotti
a55b2dec62 Install npm as a node module 2015-02-11 15:45:47 -04:00
Juan Cruz Viotti
b4417895b9 Sketch distribute script for all platforms 2015-02-11 15:38:26 -04:00
Juan Cruz Viotti
bf36960618 Allow using a global node if no bundled node was detected 2015-02-11 15:38:03 -04:00
Juan Cruz Viotti
94d462835c Remove hashbang from lib/resin.js 2015-02-11 15:34:37 -04:00
Juan Cruz Viotti
d0d4ad35df Remove unnecessary scripts 2015-02-11 15:34:24 -04:00
Juan Cruz Viotti
0823d2bcf7 Change the package name to resin-cli 2015-02-11 15:31:19 -04:00
Juan Cruz Viotti
7c836132ad Add node version to version command output 2015-02-11 15:30:49 -04:00
Juan Cruz Viotti
9ce8193c1f Call application with bundled nodejs binary 2015-02-11 13:13:12 -04:00
Juan Cruz Viotti
8f065b3680 Make sure $OUTPUT exists in download_node 2015-02-11 12:35:07 -04:00
Juan Cruz Viotti
790ec86d51 Implement download_node and download_npm bash scripts 2015-02-11 12:33:25 -04:00
Juan Cruz Viotti
d97a4d9d49 Use visuals.widgets.select for app create command 2015-02-11 10:07:53 -04:00
Juan Cruz Viotti
a6a3eeae6d Make use of resin.models.device.getSupportedDeviceTypes() asynchronously 2015-02-11 09:53:48 -04:00
Juan Cruz Viotti
65729012b6 Fix logs display 2015-02-10 15:43:39 -04:00
Juan Cruz Viotti
d3f91797bf Fix help command now that getMatchCommand() is async 2015-02-10 14:44:39 -04:00
Juan Cruz Viotti
1cf6d22d1b Require master branch of resin-cli-visuals 2015-02-10 13:11:53 -04:00
Juan Cruz Viotti
448c515f13 Use os.install in resin-write 2015-02-10 13:09:05 -04:00
Juan Cruz Viotti
2f804d5d16 Fix resin-write error reference 2015-02-10 13:07:11 -04:00
Juan Cruz Viotti
eeee1ce8e1 Implement in place progress bar 2015-02-10 12:55:18 -04:00
Juan Cruz Viotti
6739b7fbca Make use of async in app.coffee 2015-02-10 11:55:30 -04:00
Juan Cruz Viotti
10be0bcc39 Remove unneeded dependency 2015-02-10 11:47:43 -04:00
Juan Cruz Viotti
8d99526a96 Refactor plugins logic into a new file 2015-02-10 11:46:22 -04:00
Juan Cruz Viotti
f712064ab4 Move tests to tests/ and flatten errors/ module directory 2015-02-10 11:38:19 -04:00
Juan Cruz Viotti
65fbe12f22 Make use of new Capitano stdin support to get rid of helpers/ 2015-02-10 11:32:06 -04:00
Juan Cruz Viotti
8275275a05 Make login command accept options instead of colon separated credentials
For consistency
2015-02-09 11:48:13 -04:00
Juan Cruz Viotti
4d49655ab2 Enable registering programatically 2015-02-09 11:43:10 -04:00
Juan Cruz Viotti
2143818291 Remove unneeded dependency 2015-02-09 10:02:09 -04:00
Juan Cruz Viotti
67b0a53468 Update sh completion with new commands 2015-02-09 10:00:16 -04:00
Juan Cruz Viotti
d2f319c725 Move chop functionality to Resin CLI Visuals 2015-02-06 11:22:11 -04:00
Juan Cruz Viotti
e769fdc205 Prevent linter long line warning 2015-02-06 11:11:38 -04:00
Juan Cruz Viotti
b3f1e94257 Upgrade drivelist to v1.1.1 2015-02-06 08:37:15 -04:00
Juan Cruz Viotti
ca961d04c5 Pass a ProgressState instance to bar.tick() directly 2015-02-06 08:21:32 -04:00
Juan Cruz Viotti
3005a91658 Write device init help page 2015-02-05 09:56:22 -04:00
Juan Cruz Viotti
8adf943e51 Make use of get-stdin 2015-02-05 09:10:10 -04:00
Juan Cruz Viotti
0dba133b0a Fix comment spacing 2015-02-05 08:56:52 -04:00
Juan Cruz Viotti
780893b411 Make os download modify options.output directly 2015-02-05 08:53:05 -04:00
Juan Cruz Viotti
bcbb7d8e96 Upgrade to Capitano v1.3.1 and remove unneeded try/catch clause
Capitano v1.3.1 introduces support for automatically catching action
sync thrown errors
2015-02-05 08:49:57 -04:00
Juan Cruz Viotti
a8114380d7 Grab the master version of resin-cli-visuals.
There will be many changes in Resin CLI Visuals soon, so we can always
fetch master to avoid having to tag it everytime.
2015-02-04 15:32:55 -04:00
Juan Cruz Viotti
e6081238a1 Implement new device init command 2015-02-04 15:17:51 -04:00
Juan Cruz Viotti
0a7b83308a Add TODO on actions/keys about extracting ssh key chop 2015-02-04 15:17:51 -04:00
Juan Cruz Viotti
33b66effc2 Make use of new Resin CLI visuals patterns 2015-02-04 15:17:51 -04:00
Juan Cruz Viotti
3ee228c862 Move os network params options to command-options 2015-02-04 15:17:51 -04:00
Juan Cruz Viotti
3f51739e2e Send outputFile to done() in os.download 2015-02-04 15:17:50 -04:00
Juan Cruz Viotti
9f4ae4ac3f Rename current device init to os download 2015-02-04 15:17:50 -04:00
Juan Cruz Viotti
a4a8c4e61a Simplify os download a bit with _.unary 2015-02-04 15:08:38 -04:00
Juan Cruz Viotti
e7823e2707 Make use of SDK ProgressState enhancement to simplify os download 2015-02-04 15:06:07 -04:00
Juan Cruz Viotti
531a48a158 Fix generateCacheName error not being caught 2015-02-03 13:51:33 -04:00
Juan Cruz Viotti
4341f1219f Set actions/index as the package main entry point 2015-02-02 13:21:50 -04:00
Juan Cruz Viotti
1edf594818 Remove diskpart from optional dependencies 2015-02-02 13:20:37 -04:00
Juan Cruz Viotti
ef318f9d1a Install diskio from NPM 2015-02-02 13:19:41 -04:00
Juan Cruz Viotti
6ce0fdc4ab Make use of diskio 2015-02-02 12:25:22 -04:00