Commit Graph

1112 Commits

Author SHA1 Message Date
Juan Cruz Viotti
96f0b5fbd6 Remove tests tasks and CI configuration
We don't have any tests in this repository
2016-01-21 10:16:54 -04:00
Juan Cruz Viotti
69e031da28 Upgrade Resin SDK to v5.0.1
This breaking change doesn't affect the CLI in any way, so we can
upgrade directly.
2016-01-21 10:13:15 -04:00
Juan Cruz Viotti
9cfce68489 Change license to Apache 2.0 2016-01-03 23:58:51 -04:00
Juan Cruz Viotti
b0ab23dad4 v2.5.0 2015-12-11 21:30:02 -04:00
Juan Cruz Viotti
26e3cb7957 Add timestamp to logs lines 2015-12-11 20:28:29 -04:00
Juan Cruz Viotti
0f8d6a98e3 v2.4.0 2015-12-01 14:43:53 -04:00
Juan Cruz Viotti
9a89e3c3ca Perform automatic token exchange with the dashboard 2015-11-25 09:25:08 -04:00
Juan Cruz Viotti
647ed1e7aa Remove unused dependencies 2015-11-24 00:06:44 -04:00
Juan Cruz Viotti
65646d1206 v2.3.0 2015-11-20 13:01:58 -04:00
Juan Cruz Viotti
f52dd2976f Implement settings command
This command allows the user to list all detected settings.
2015-11-15 22:08:02 -04:00
Juan Cruz Viotti
c3b5a768e1 Handle Windows permissions elevation automatically 2015-11-12 13:30:48 -04:00
Juan Cruz Viotti
111ea44b40 Resin CLI v2.2.0 2015-11-12 08:33:51 -04:00
Juan Cruz Viotti
ba318f2939 Implement device move command
This command allows to user to move a device to another application he
owns.
2015-11-12 07:47:16 -04:00
Juan Cruz Viotti
4fc7a4e436 Make use of resin-config-json for config commands
This module encapsulates the low level details of `config.json` I/O and
tests them extensively.

See: https://github.com/resin-io/resin-config-json
2015-11-11 10:04:46 -04:00
Juan Cruz Viotti
89c5bb3080 Resin CLI v2.1.0 2015-11-11 08:31:32 -04:00
Juan Cruz Viotti
3b35aed3bf Implement config write command
This command allows the user to overwrite properties of the config.json
file.
2015-11-10 14:28:18 -04:00
Juan Cruz Viotti
5509a3e9fd Implement config read command
This command is used to read a config.json from a provisioned device
2015-11-10 12:53:34 -04:00
Juan Cruz Viotti
c866f6e46c Use president to provide sudo functionality 2015-10-26 09:47:49 -04:00
Juan Cruz Viotti
9260c8dce2 Resin CLI v2.0.1 2015-10-26 08:46:16 -04:00
Juan Cruz Viotti
1cbd33679f Resin CLI v2.0.0 2015-10-26 08:08:20 -04:00
Juan Cruz Viotti
f66cd00646 Remove project directory creation in quickstart
The last part of `quickstart` feels weird. By consensus, we remove the
part that attempts to create a project directory and leave that step to
the user.
2015-10-21 11:18:29 -04:00
Juan Cruz Viotti
5498e45a35 Merge pull request #246 from resin-io/jviotti/refactor/rindle
Use rindle instead of custom waitStream
2015-10-21 11:15:12 -04:00
Juan Cruz Viotti
7a4f551a47 Use rindle instead of custom waitStream 2015-10-21 10:17:10 -04:00
Juan Cruz Viotti
6a7d1b0c70 Remove unused npm dependency 2015-10-21 10:02:08 -04:00
Juan Cruz Viotti
8913fb515b Implement user/password login with 2FA support 2015-10-21 08:28:20 -04:00
Juan Cruz Viotti
ceb8dada1d Remove unused resin-device-config 2015-10-19 15:26:09 -04:00
Juan Cruz Viotti
71ee0a6cf7 Support drive option in os initialize
This allows the user to bypass the drive selection dialog.

This option can be used along with `--yes` to make the command
completely non-interactive. For example:

	$ resin os initialize rpi.img 'raspberry-pi' --drive /dev/disk2 --yes
2015-10-15 08:14:35 -04:00
Juan Cruz Viotti
fa7b104762 Resin CLI v1.1.0 2015-10-13 12:37:50 -04:00
Juan Cruz Viotti
e5e871ddcd Upgrade SDK to v3.0.0
Breaking changes in this version:

- `resin.models.device.generateUUID()` is now async.
2015-10-12 08:34:22 -04:00
Juan Cruz Viotti
90be01b05d Make os initialize take a device type instead of a uuid 2015-09-30 14:31:23 -04:00
Juan Cruz Viotti
8234f7675a Uncompress zip packages in os download
When downloading an operating system image, if the image is a zip
package, uncompress it automatically.
2015-09-30 10:16:24 -04:00
Juan Cruz Viotti
f6d8f12ba2 Implement os download command
This command download an unconfigured image to both the cache and to the
specified location by the `--output` option.
2015-09-29 13:03:14 -04:00
Juan Cruz Viotti
21e916679c Update author email to @resin.io 2015-09-21 09:15:27 -04:00
Juan Cruz Viotti
eb4c2f62a7 Resin CLI v1.0.0 2015-09-11 21:21:44 +03:00
Juan Cruz Viotti
904b9f07fb Highlight errors in red
- Move error translation logic to resin-io/resin-cli-errors.
- Force `process.exit()`.
2015-09-11 14:47:38 +03:00
Juan Cruz Viotti
64c8420c9d Implement device specs. Fix #99
Support for all devices. Tested in the following ones:

- Intel Edison.
- Raspberry Pi 2.
- Parallella.
2015-09-11 13:02:59 +03:00
Juan Cruz Viotti
79afa79fd9 Use settings from the SDK during login
This enforces all clients to use the Resin Settings Client version that
the SDK provides, reducing incompatibilities caused by different modules
requiring different Resin Settings Client versions.
2015-09-08 09:06:03 +03:00
Juan Cruz Viotti
ec5f6a7cd8 Upgrade Resin SDK to v2.7.2 2015-09-07 11:25:01 +03:00
mike
b0650530cc Resin CLI Events integration. Fix #103 2015-09-05 19:15:31 +03:00
Juan Cruz Viotti
5de0f66d7a Don't check for available updates when running as root
`update-notifier` persist its update check results in a file, which is
then read when running again the application.

If this file gets written when the application is being run as root, we
get ugly EPERM issues.
2015-08-20 16:54:22 -04:00
Juan Cruz Viotti
a3cbc549d8 Upgrade Resin CLI Form to v1.2.1
This version contains a fix for a bug that prevented `when` properties
from working as expected.
2015-08-20 15:55:57 -04:00
Juan Cruz Viotti
dc513a08f6 Update Resin CLI Form to v1.2.0
This version includes support for the `drive` input type.
2015-08-20 11:55:53 -04:00
Juan Cruz Viotti
7f4863da86 Upgrade Nplugm to v3.0.0
This new version supports promises and contains speed improvements.
2015-08-19 11:27:28 -04:00
Juan Cruz Viotti
f19588032f Notify the user if there is an available update
For this we use the `update-notifier` module with its default settings.

This module will print a nice banner prompting the user to run the
corresponding npm command to update.
2015-08-18 08:53:06 -04:00
Juan Cruz Viotti
f63391acf9 Make use of projectsDirectory SDK setting in Quickstart
We were currently building this path ourselves, hardcoding the place of
the resin local per user directory instead of relying on the foundations
that `resin-settings-client` give us.
2015-08-17 09:06:27 -04:00
Juan Cruz Viotti
9adda22921 Upgrade Resin SDK to v2.4.1
This new version contains fixes for the following issues:

- https://github.com/resin-io/resin-cli/issues/87
- https://github.com/resin-io/resin-cli/issues/120
2015-08-17 08:42:17 -04:00
Juan Cruz Viotti
7a8a3c851b Merge pull request #138 from resin-io/refactor/help
Refactor help module
2015-08-17 08:02:15 -04:00
Juan Cruz Viotti
0807b6a2d9 Upgrade Resin SDK to v2.4.0
This release fixes:

- Check if device exists before removing it "resin device rm <uuid>"
	- https://github.com/resin-io/resin-cli/issues/123

- Check if app exists before removing it "resin app rm <appName>"
	- https://github.com/resin-io/resin-cli/issues/114

- Command does not display correct output "resin key <id>"
	- https://github.com/resin-io/resin-cli/issues/112

Since it includes the following PRs:

- https://github.com/resin-io/resin-sdk/pull/103
- https://github.com/resin-io/resin-sdk/pull/107
2015-08-14 12:17:59 -04:00
Juan Cruz Viotti
e9ec6c67b2 Validate that email address is valid during signup. Fix #111
For this we use a third party dependency from npm called `valid-email`
to avoid hardcoding and having to mantain a regular expression.
2015-08-13 15:22:22 -04:00
Juan Cruz Viotti
1bc78edf71 Refactor help module
Main changes:

- Use the `columnify` module to display the commands instead of using
manual parsing.

- Extract logic to create a string representation from an option
signature to Capitano, and reuse here.

See https://github.com/resin-io/capitano/pull/28

Some bugs were caught and fixes during the refactoring:

- In command help, if the command didn't exist, we reused default
Capitanos command not found function which uses `process.exit(1)`. This
was changed to pass a custom error to `done()`, so the command fails
correctly when using programatically.

- General help didn't call `done()` at all, thus causing problems if
using the command programatically someday.
2015-08-13 14:19:07 -04:00
Juan Cruz Viotti
09fe4b11ad Merge pull request #139 from resin-io/jviotti/feature/drive-widget
Use Visuals drive widget in device init
2015-08-13 12:35:41 -04:00
Juan Cruz Viotti
4157f21e06 Merge pull request #140 from resin-io/jviotti/cleanup/elevate
Remove outdated Windows elevation mechanism
2015-08-13 12:23:26 -04:00
Juan Cruz Viotti
e60c0605e5 Use Visuals drive widget in device init
- Replace custom `drivelist` logic in "device init" with the new `drive`
widget.
2015-08-13 11:56:16 -04:00
Juan Cruz Viotti
085781fa18 Upgrade Resin CLI Visuals to v1.1.0
This version contains the `drive` widget.
2015-08-13 11:55:31 -04:00
Juan Cruz Viotti
3d36e5f5d3 Remove outdated Windows elevation mechanism
This functionality is outdated and not using anymore due to limitations
in the way it was addressed.

The module and dependencies are removed for now, and will be added back
in the future, once a better approach is planned.
2015-08-13 11:45:50 -04:00
Juan Cruz Viotti
57319f26a6 Slim down unused functionality 2015-08-12 08:17:46 -04:00
Juan Cruz Viotti
dc030f4cd1 Implement Quickstart command 2015-08-04 20:16:55 +03:00
Juan Cruz Viotti
d24b871964 Merge pull request #131 from resin-io/remove/selfupdate
Remove selfupdate functionality
2015-08-04 09:53:48 -04:00
Juan Cruz Viotti
d423a6ea24 Remove selfupdate functionality
We added this because we thought that knowledge of the supported device types, along with the configuration procedures was going to be encoded in the CLI.

With device specs, this is not longer the case.
2015-08-03 12:20:42 -04:00
Juan Cruz Viotti
4211333e4e Remove man pages 2015-08-03 12:08:49 -04:00
mike
5b5d1be52f Integrate resin-cli-form 2015-07-27 19:50:47 +03:00
mike
64d83dccfb Add promise support for Resin-SDK dependency 2015-07-24 00:24:17 +03:00
Juan Cruz Viotti
58c7ff1f1b Upgrade dependencies 2015-07-15 09:01:50 -04:00
mike
6fb25dea88 Upgrade resin-cli-visuals dependencies 2015-07-14 18:18:19 +03:00
mike
46fa4ee2a2 Upgrade Resin VCS dependencies 2015-07-11 00:03:20 +03:00
Juan Cruz Viotti
076c3428ee Upgrade Resin CLI Visuals to v0.3.2 2015-07-09 13:43:20 -04:00
Juan Cruz Viotti
24edb867fa Upgrade Resin CLI Visuals to v0.3.1 2015-07-09 09:46:08 -04:00
Juan Cruz Viotti
5619bdbb67 Resin CLI v0.11.1 2015-06-15 10:09:10 -04:00
Juan Cruz Viotti
8fa906dd48 Upgrade Resin CLI Visuals and use it's new capabilities 2015-06-11 12:46:56 -04:00
Juan Cruz Viotti
73736abdea Merge pull request #68 from resin-io/feature/config
Implement config command
2015-06-11 07:57:31 -04:00
Juan Cruz Viotti
9ab411bade Resin CLI v0.11.0 2015-06-10 12:52:28 -04:00
Juan Cruz Viotti
ef33156de7 Implement config command 2015-06-10 12:34:42 -04:00
Juan Cruz Viotti
2bfeb7f42c Associate a device before first boot 2015-06-04 10:10:15 -04:00
Juan Cruz Viotti
fdd0e4a966 Implement config injection 2015-06-04 08:06:37 -04:00
Juan Cruz Viotti
1ed9ae7d60 Open dashboardUrl instead of remoteUrl in auth login 2015-06-02 13:21:59 -04:00
Juan Cruz Viotti
806678ee5f Merge pull request #55 from resin-io/feature/device-env-vars
Add per device environment variable support
2015-06-02 08:13:10 -04:00
Juan Cruz Viotti
3c7615f20d Upgrade drivelist to v1.2.2
Contains isSystem() fix for Linux
2015-06-01 08:35:48 -04:00
Juan Cruz Viotti
054d5e4879 Add per device environment variable support 2015-05-28 12:32:08 -04:00
Juan Cruz Viotti
218b407f30 Remove Mocha notification integration
It doesn't work in tmux and causes the process to hang.
2015-05-20 13:15:39 -04:00
Juan Cruz Viotti
773cc27145 Resin CLI v0.10.8 2015-05-19 15:04:52 -04:00
Juan Cruz Viotti
1c76e2e15b Upgrade Resin Image to v1.1.3 2015-05-19 15:02:12 -04:00
Juan Cruz Viotti
e466cfd6ff Resin CLI v0.10.7 2015-05-18 10:39:07 -04:00
Juan Cruz Viotti
b78c48d89f Point to a JavaScript file in package.json main property 2015-05-18 09:35:10 -04:00
Juan Cruz Viotti
1f8c610bb0 Resin CLI v0.10.6 2015-05-14 11:50:43 -03:00
Juan Cruz Viotti
e7e8ec296c Make use of selfupdate 2015-05-14 11:32:18 -03:00
Juan Cruz Viotti
80e69c56d0 Resin CLI v0.10.5 2015-05-11 14:42:00 -03:00
Juan Cruz Viotti
ce3c6aecff Upgrade Resin SDK to v1.4.3 2015-05-11 14:39:55 -03:00
Juan Cruz Viotti
300f76ba83 Upgrade Resin SDK to v1.4.2 2015-05-11 14:27:09 -03:00
Juan Cruz Viotti
9b0c08bd46 Don't umount in os install as it's already handled in Resin Image 2015-05-11 13:10:06 -03:00
Juan Cruz Viotti
679d48e86e Merge branch 'master' of github.com:resin-io/resin-cli 2015-05-11 13:08:44 -03:00
Juan Cruz Viotti
4b6bf60531 Upgrade Resin Image to v1.1.2 2015-05-11 12:38:19 -03:00
Juan Cruz Viotti
d8ce6648e2 Handle device unmounting in os install command 2015-05-11 10:04:05 -03:00
Juan Cruz Viotti
f5b461612b Upgrade Capitano to v1.6.0 2015-05-11 09:30:07 -03:00
Juan Cruz Viotti
d2514a3fc3 Resin CLI v0.10.4 2015-05-08 14:29:02 -03:00
Juan Cruz Viotti
656f3e5cd9 Make use of resin-image to remove image writing logic from the CLI 2015-05-08 14:26:04 -03:00
Juan Cruz Viotti
4b7eca02a0 Resin CLI v0.10.3 2015-05-07 12:03:40 -03:00
Juan Cruz Viotti
c7788a80e1 Upgrade Resin SDK to v1.4.1
That version includes the os download piping issue fix
2015-05-07 12:03:12 -03:00
Juan Cruz Viotti
08648894e3 Merge pull request #40 from resin-io/feature/device-await
Implement device await command
2015-05-06 11:18:42 -03:00
Juan Cruz Viotti
4c5d5697bc Implement device await command 2015-05-06 11:14:08 -03:00
Juan Cruz Viotti
cd3245a631 Handle device unmounting in os install command 2015-05-02 10:34:11 -04:00
Juan Cruz Viotti
faecf103bf Upgrade Resin SDK to v1.3.4
This version addresses the device validation issue
2015-04-29 14:39:28 -04:00
Juan Cruz Viotti
24726b575d Fix devices command not showing application names. Closes #32 2015-04-29 14:07:59 -04:00
Juan Cruz Viotti
688b89a099 Resin CLI v0.10.2 2015-04-28 09:34:41 -04:00
Juan Cruz Viotti
193cedae26 Check that an application exists before asking it's type. Closes #30 2015-04-28 09:18:21 -04:00
Juan Cruz Viotti
b2bce3c4ac Upgrade Resin SDK 2015-04-27 10:49:28 -04:00
Juan Cruz Viotti
8c11620a42 Upgrade Resin SDK 2015-04-27 10:33:34 -04:00
Juan Cruz Viotti
69039d21c2 Resin CLI v0.10.1 2015-04-21 11:28:24 -04:00
Juan Cruz Viotti
34c9cdd8bb Upgrade Resin SDK to v1.2.1 2015-04-21 11:26:40 -04:00
Juan Cruz Viotti
0a8b30e824 Resin CLI v0.10.0 2015-04-21 09:06:45 -04:00
Juan Cruz Viotti
3bc71577b5 Fix temporary os download output option in device init 2015-04-21 08:37:40 -04:00
Juan Cruz Viotti
ae8c941bfe Resin CLI v0.9.0 2015-04-20 12:15:57 -04:00
Juan Cruz Viotti
7bd8922a4e Upgrade Resin VCS to v1.2.0 and make use of vcs.getApplicationName() 2015-04-20 11:41:26 -04:00
Juan Cruz Viotti
b29ce3ee04 Resin CLI v0.8.1 2015-04-17 15:09:40 -04:00
Juan Cruz Viotti
c4d1e4244e Upgrade Nplugm to v2.2.0 2015-04-17 10:10:35 -04:00
Juan Cruz Viotti
e4773da1d7 Implement Single Page documentation 2015-04-16 09:49:54 -04:00
Juan Cruz Viotti
dfd8086f63 Resin CLI v0.8.0 2015-04-08 08:37:07 -04:00
Juan Cruz Viotti
2a4ba895e5 Elevate privileges of update command if necessary 2015-04-01 12:51:04 -04:00
Juan Cruz Viotti
19c019076e "resin-cli" "0.7.0" 2015-03-31 13:17:32 -04:00
Juan Cruz Viotti
63b2b3feb6 Upgrade resin-vcs to 1.1.0 2015-03-23 08:24:29 -04:00
Juan Cruz Viotti
9237dd25ac "resin-cli" "0.6.0" 2015-03-23 08:18:13 -04:00
Juan Cruz Viotti
df9c4ce2fd Reference applications and devices by name 2015-03-23 08:17:55 -04:00
Juan Cruz Viotti
cd8bb7882e Reimplement whoami command 2015-03-19 15:57:43 -04:00
Juan Cruz Viotti
3c0378142a Resin CLI v0.5.0 2015-03-19 11:45:38 -04:00
Juan Cruz Viotti
a524bffaa2 Integrate with SDK v1.0.0 2015-03-19 11:45:07 -04:00
Juan Cruz Viotti
4b3decbe03 Resin CLI v0.4.1 2015-03-17 08:54:27 -04:00
Juan Cruz Viotti
fa258a84cc Show a spinner if no progress state in os download command 2015-03-16 11:45:17 -04:00
Juan Cruz Viotti
6e6a01c33c HTML Encode documentation require parameters 2015-03-16 08:51:26 -04:00
Juan Cruz Viotti
b20ed34756 Resin CLI v0.4.0 2015-03-12 12:07:51 -04:00
Juan Cruz Viotti
0b188b7ce9 Fetch resin-vcs from NPM 2015-03-12 12:07:18 -04:00
Juan Cruz Viotti
8410a709c9 Make use of resin-vcs instead of using gitwrap directly 2015-03-12 11:24:36 -04:00
Juan Cruz Viotti
cb5bb69b47 Get rid of gitCli in favor of gitwrap 2015-03-11 09:03:13 -04:00
Juan Cruz Viotti
58f557065e Resin CLI v0.3.0 2015-03-10 14:42:48 -04:00
Juan Cruz Viotti
fec840b897 Upgrade gitwrap to v1.1.0 2015-03-10 13:53:35 -04:00
Juan Cruz Viotti
8fbde4c452 Make use of gitwrap 2015-03-10 10:03:49 -04:00
Juan Cruz Viotti
f0346b1fd0 Allow to interactively configure network for os download 2015-03-09 19:42:43 -04:00
Juan Cruz Viotti
4c35badcad Upgrade Resin SDK to v0.0.2 2015-03-09 11:49:52 -04:00
Juan Cruz Viotti
6ba97cd961 Automate resin init command 2015-03-09 09:14:39 -04:00
Juan Cruz Viotti
6fc2d5eee1 Resin CLI v0.2.3 2015-03-05 12:16:48 -04:00
Juan Cruz Viotti
dbe181ea84 Upgrade resin-cli-visuals to v0.0.6 2015-03-05 12:16:31 -04:00
Juan Cruz Viotti
dd169d356a Resin CLI 0.2.2 2015-03-05 11:56:07 -04:00
Juan Cruz Viotti
4fbc016d18 Make use of resin-cli-visuals from NPM 2015-03-05 11:54:53 -04:00
Juan Cruz Viotti
e00ee40bea Resin CLI v0.2.1 2015-03-04 14:48:25 -04:00
Juan Cruz Viotti
e64f8fe0db Resin CLI v0.2.0 2015-03-04 14:41:14 -04:00
Juan Cruz Viotti
06020c0344 Implement self update functionality and notification 2015-03-04 14:40:40 -04:00
Juan Cruz Viotti
9038b76d73 Implement resin update command 2015-03-04 14:03:08 -04:00
Juan Cruz Viotti
acbf3e64b2 Resin CLI v0.1.0 2015-03-04 12:24:03 -04:00
Juan Cruz Viotti
a1e6c6cda5 Stop bundling NodeJS in the package 2015-03-04 12:16:35 -04:00
Juan Cruz Viotti
dac2e0a302 Remove npm run-script doc from prepublish as it won't run on Windows 2015-03-04 11:51:38 -04:00
Juan Cruz Viotti
e3141a6085 Fix typo in package.json scripts 2015-03-03 14:36:45 -04:00
Juan Cruz Viotti
15b2dc4113 Upgrade node-binary to 1.1.0 2015-03-03 14:24:07 -04:00
Juan Cruz Viotti
8d0dcc54ec Remove mkdirp from devDependencies 2015-03-03 14:23:17 -04:00
Juan Cruz Viotti
d449b0bb52 Run documentation generator on prepublish 2015-03-03 13:24:40 -04:00
Juan Cruz Viotti
1f0c7180a4 Require Resin SDK from NPM 2015-03-03 13:17:51 -04:00
Juan Cruz Viotti
5d63b3a6cc Fix package.json homepage and url to match new github repo 2015-03-03 13:17:24 -04:00
Juan Cruz Viotti
4acc85abb8 Upgrade drivelist to v1.2.1 2015-03-03 12:02:01 -04:00
Juan Cruz Viotti
6a83a537c7 Implement basic documentation generation mechanism 2015-03-03 11:32:24 -04:00
Juan Cruz Viotti
572fe29fe6 Implement plugin update command 2015-03-02 10:41:08 -04:00
Juan Cruz Viotti
2491aa70ef Upgrade nplugm to 2.0.1 to avoid npm warnings 2015-02-27 13:31:00 -04:00
Juan Cruz Viotti
7cde28ceae Reference JavaScript version of install-node script 2015-02-26 11:50:21 -04:00
Juan Cruz Viotti
d520918071 Multi arch builds 2015-02-26 10:12:25 -04:00
Juan Cruz Viotti
6227422afa Use github npm packages 2015-02-25 15:43:51 -04:00
Juan Cruz Viotti
9c98adb712 Prevent writing accidentally to system drives 2015-02-25 11:12:58 -04:00
Juan Cruz Viotti
9807bf308c Upgrade node-binary to v1.0.1 2015-02-24 14:11:17 -04:00
Juan Cruz Viotti
91a2453ebb Make use of new nplug version 2015-02-24 13:36:10 -04:00
Juan Cruz Viotti
188d6213e3 Only reference bundle node version in package.json 2015-02-13 15:35:28 -04:00
Juan Cruz Viotti
16544e41a9 Move install script to bin/install-node.js 2015-02-13 15:18:24 -04:00
Juan Cruz Viotti
5226e7db16 Don't install node explicitly on distribute.sh
It's now done automatically as part of npm install
2015-02-13 14:58:33 -04:00
Juan Cruz Viotti
1400ec30e0 Make use of node-binary to install node after npm install 2015-02-13 14:47:23 -04:00
Juan Cruz Viotti
29f359da68 Omit node binary version numbers for simplicity 2015-02-12 08:49:00 -04:00
Juan Cruz Viotti
a55b2dec62 Install npm as a node module 2015-02-11 15:45:47 -04:00
Juan Cruz Viotti
0823d2bcf7 Change the package name to resin-cli 2015-02-11 15:31:19 -04:00
Juan Cruz Viotti
1cf6d22d1b Require master branch of resin-cli-visuals 2015-02-10 13:11:53 -04:00
Juan Cruz Viotti
eeee1ce8e1 Implement in place progress bar 2015-02-10 12:55:18 -04:00
Juan Cruz Viotti
10be0bcc39 Remove unneeded dependency 2015-02-10 11:47:43 -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
b3f1e94257 Upgrade drivelist to v1.1.1 2015-02-06 08:37:15 -04:00
Juan Cruz Viotti
8adf943e51 Make use of get-stdin 2015-02-05 09:10:10 -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
33b66effc2 Make use of new Resin CLI visuals patterns 2015-02-04 15:17:51 -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
Juan Cruz Viotti
fd079b5794 Make use of diskpart npm module 2015-01-30 15:41:14 -04:00
Juan Cruz Viotti
654ab26609 Make use of drivelist 1.1.0 2015-01-30 11:48:15 -04:00
Juan Cruz Viotti
fc6dda5d22 Make use of published drivelist 2015-01-30 11:38:46 -04:00
Juan Cruz Viotti
fd1e632b50 List drives in OS X 2015-01-30 08:45:38 -04:00
Juan Cruz Viotti
03c6c72df6 Integrate new progress bar 2015-01-29 14:59:57 -04:00
Juan Cruz Viotti
2b992ec233 Simple progress bar approach 2015-01-29 14:01:21 -04:00
Juan Cruz Viotti
4790fe3a5e Require resin-cli-visuals v0.0.2 2015-01-29 12:50:28 -04:00
Juan Cruz Viotti
9069b07d4a Integrate windosu 2015-01-29 12:04:48 -04:00
Juan Cruz Viotti
8bfdebbfbb Fix drive dependencies 2015-01-28 14:53:34 -04:00
Juan Cruz Viotti
dcebbc0044 Make use of a 512 block aligner 2015-01-28 10:16:01 -04:00
Juan Cruz Viotti
f67cdaee43 Remove unused dependencies 2015-01-23 15:10:16 -04:00
Juan Cruz Viotti
2958f28cd6 Fetch nplugm from NPM 2015-01-23 14:41:58 -04:00
Juan Cruz Viotti
af9ae6579c Move plugin module to nplugm 2015-01-23 10:23:47 -04:00
Juan Cruz Viotti
67cf0a1b9a Get resin-cli-visuals from npm 2015-01-23 08:51:55 -04:00
Juan Cruz Viotti
21d501d6e5 Require Resin SDK from GitHub 2015-01-22 11:37:34 -04:00
Juan Cruz Viotti
ae63233575 Remove unused dependencies 2015-01-21 11:37:30 -04:00
Juan Cruz Viotti
6c12ec1c89 Implement resin-plugins man page 2015-01-21 11:28:30 -04:00
Juan Cruz Viotti
50325d0f8f Make use of resin-cli-visuals and get rid of local ui module 2015-01-21 09:50:19 -04:00
Juan Cruz Viotti
aa4d7a408a Implement device init command (for UNIX only) 2015-01-20 15:34:47 -04:00
Juan Cruz Viotti
d49677581b Make use of Capitano permissions feature 2015-01-16 09:34:59 -03:00
Juan Cruz Viotti
3e055b32d2 Update Capitano to v1.2.0 and make use of done callback feature 2015-01-15 10:47:17 -03:00
Juan Cruz Viotti
2a8f1f1dc2 Implement plugin support 2015-01-14 15:42:05 -03:00
Juan Cruz Viotti
4eb9f93f30 Remove unneeded dependency 2015-01-13 08:57:13 -03:00
Juan Cruz Viotti
043a34cc7c Decouple permissions from http mocks and fixtures 2015-01-13 08:51:02 -03:00
Juan Cruz Viotti
4de25b1325 Remove unused NPM dependencies 2015-01-09 14:13:13 -03:00
Juan Cruz Viotti
bf7430d7fd Move logs logic to a nested logs module 2015-01-09 09:42:46 -03:00
Juan Cruz Viotti
d2b0772673 Remove duplication by relying on Capitano's new required option feature 2015-01-08 12:11:10 -03:00
Juan Cruz Viotti
12f46be691 Partially get rid of nested sdk 2015-01-08 09:39:38 -03:00
Juan Cruz Viotti
2ea25dc871 Implement gulp release task 2014-12-30 13:12:18 -04:00
Juan Cruz Viotti
ddcec9dbd9 Include gulp compile task 2014-12-30 09:44:03 -04:00
Juan Cruz Viotti
5cc1b88e47 Add prepublish hook 2014-12-24 15:15:34 -04:00
Juan Cruz Viotti
3304e4bc98 Fix global *.roff installation issue
NPM refuses to install man pages that end in *.roff.
2014-12-24 15:12:31 -04:00
Juan Cruz Viotti
7ca78c5251 Rename package.json main to the coffee version 2014-12-24 12:55:14 -04:00
Juan Cruz Viotti
3f9270cbb9 Implement note command 2014-12-24 12:40:40 -04:00
Juan Cruz Viotti
8624ff74d9 Implement Bash/Zsh basic autocompletion 2014-12-24 09:49:14 -04:00
Juan Cruz Viotti
a9f721784b Update Capitano to v1.0.3 2014-12-24 08:56:52 -04:00
Juan Cruz Viotti
7634040c62 Upgrade Capitano to v1.0.2 2014-12-23 10:31:14 -04:00
Juan Cruz Viotti
006f3e8aca Implement key add command 2014-12-19 13:06:58 -04:00
Juan Cruz Viotti
6cfe2bdc49 Make use of Capitano for command line parsing 2014-12-19 09:15:38 -04:00
Juan Cruz Viotti
001d7be622 Implement app init command 2014-12-11 11:37:16 -04:00
Juan Cruz Viotti
bf9f1bb9c9 Make use of conf.js instead of mantaining CliConf in the codebase 2014-12-11 11:34:36 -04:00
Juan Cruz Viotti
e4780b12f6 Implement basic man page 2014-12-10 15:18:39 -04:00
Juan Cruz Viotti
b24b13f549 Move codo generated documentatio to doc/codo 2014-12-10 14:47:23 -04:00
Juan Cruz Viotti
817babc059 Add repository field to package.json 2014-12-09 15:46:47 -04:00
Juan Cruz Viotti
3a5e4ad074 Remove JS compilation step for running bin/resin 2014-12-09 15:40:38 -04:00
Juan Cruz Viotti
f5a0c7d6e5 Upgrade old resin-platform-api to pinejs-client-js 2014-12-09 14:56:49 -04:00
Juan Cruz Viotti
d9ae31d154 Fix npm dependencies issues 2014-12-09 12:54:35 -04:00
Juan Cruz Viotti
5059bcb212 Get rid of fsUtils.isDirectory 2014-12-08 11:02:38 -04:00
Juan Cruz Viotti
11f909510d Only generate documentation for lib/resin 2014-12-08 09:19:39 -04:00
Juan Cruz Viotti
10ee3e920b Add doc npm script 2014-12-08 09:17:21 -04:00
Juan Cruz Viotti
511e753256 Support user defined configuration file 2014-12-03 12:03:54 -04:00
Juan Cruz Viotti
1b8290ade1 Cross platform home directory 2014-12-03 09:31:36 -04:00
Juan Cruz Viotti
ffdd44752a Integrate nicer progress bar for os:download 2014-12-02 17:40:13 -04:00
Juan Cruz Viotti
ccf92411fe Implemence pace based os download 2014-12-02 11:08:22 -04:00
Juan Cruz Viotti
d3df9bff1a Allow tracking progress of server requests 2014-12-01 13:28:57 -04:00
Juan Cruz Viotti
721ef8413a Implement logs command 2014-11-28 15:11:15 -04:00
Juan Cruz Viotti
a5791d080f Implement CLI addResource 2014-11-27 09:10:51 -04:00
Juan Cruz Viotti
2fa26d3dba Improve build system and CLI integration
Omit specs from build

Commit build directory and add bin entry point
2014-11-26 09:54:21 -04:00
Juan Cruz Viotti
a6099b227b Require internet connection before attempting to use server module 2014-11-25 09:02:50 -04:00
Juan Cruz Viotti
90cb463390 Implement errors module 2014-11-24 14:08:51 -04:00
Juan Cruz Viotti
b1a5bb8902 Add Gulp build task 2014-11-24 10:37:32 -04:00
Juan Cruz Viotti
b53bc060a3 Revert back to commander 2014-11-21 09:23:02 -04:00
Juan Cruz Viotti
7610fe87cc Implement Yargs Command plugin 2014-11-20 11:50:58 -04:00
Juan Cruz Viotti
34346dd3d0 Refactor table utilities into tableHelpers 2014-11-19 14:25:09 -04:00
Juan Cruz Viotti
89ec171a3d Improve apps printing with cliff 2014-11-18 14:51:05 -04:00
Juan Cruz Viotti
275eed82f0 Implement widgets module 2014-11-18 12:14:48 -04:00
Juan Cruz Viotti
5c53829812 Implement signup command 2014-11-18 11:37:29 -04:00
Juan Cruz Viotti
612bb5e605 Basic test suite for Canvas 2014-11-18 11:15:47 -04:00
Juan Cruz Viotti
e18bc83285 Integrat resin-platform-api 2014-11-18 10:11:07 -04:00
Juan Cruz Viotti
9e0940063e Use built-in url module instead of url-join 2014-11-18 09:19:20 -04:00
Juan Cruz Viotti
dcf6215f56 Install resin-platform-api from git 2014-11-17 15:51:44 -04:00
Juan Cruz Viotti
3c3cb3e850 Create prefix directory when using data.prefix.set 2014-11-17 15:32:35 -04:00
Juan Cruz Viotti
8e2217b9d5 Install commander.js 2014-11-17 14:14:15 -04:00
Juan Cruz Viotti
d83e269f20 Implement data.remove() 2014-11-14 13:21:56 -04:00
Juan Cruz Viotti
89bb0d0b21 Implement fsUtils module 2014-11-07 11:21:48 -04:00
Juan Cruz Viotti
62fc40cd4b Implement Server module 2014-10-31 11:59:23 -04:00
Juan Cruz Viotti
27593e2793 Add Coffeelint support 2014-10-31 09:48:53 -04:00
Juan Cruz Viotti
04da00afb2 Initial commit 2014-10-31 09:37:29 -04:00