adc0b183cd
Improve device awaiting message
...
Current message sounds too robotic.
2015-09-11 19:13:30 +03:00
828b4f73d1
Fix selecting existing application in quickstart
2015-09-11 18:30:30 +03:00
82a0761f49
Merge pull request #189 from resin-io/jviotti/feature/error-highlight
...
Highlight errors in red
2015-09-11 14:59:14 +03:00
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
3c0acaa7da
Merge pull request #188 from resin-io/jviotti/feature/device-specs
...
Implement device specs. Fix #99
2015-09-11 13:10:44 +03:00
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
26e3dc1aa7
Merge pull request #187 from resin-io/jviotti/feature/ignore-resinrc
...
Add resinrc.yml to gitignore
2015-09-08 09:31:40 +03:00
3bc22a7b7c
Merge pull request #186 from resin-io/jviotti/refactor/settings
...
Use settings from the SDK during login
2015-09-08 09:16:05 +03:00
7e5b2695fe
Add resinrc.yml to gitignore
...
Some modules have an use case for shipping the configuration file with
the project, however this is not the case for the CLI.
2015-09-08 09:07:48 +03:00
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
cdaaddb826
Merge pull request #185 from resin-io/jviotti/upgrade/sdk
...
Upgrade Resin SDK to v2.7.2
2015-09-07 11:45:25 +03:00
ec5f6a7cd8
Upgrade Resin SDK to v2.7.2
2015-09-07 11:25:01 +03:00
72f34031a9
Merge pull request #184 from resin-io/jviotti/fix/token-auth
...
Check token validity against the API when login
2015-09-05 20:48:22 +03:00
dc257b5cab
Check token validity against the API when login
...
Consider the following case:
The SDK is configured to point to staging, but the user passes a token
from production, or viceversa. Since the token is valid in a sense that
is valid JWT and contains real data, the CLI will report as a success.
The user will then get Unauthorized errors when using the API.
2015-09-05 20:17:34 +03:00
4bdcd3d2ee
Merge pull request #180 from resin-io/issue_#103
...
Resin CLI Events integration. Fix #103
2015-09-05 20:11:52 +03:00
b0650530cc
Resin CLI Events integration. Fix #103
2015-09-05 19:15:31 +03:00
454669ada2
Merge pull request #183 from resin-io/jviotti/182/docs/update
...
Update documentation
2015-09-01 13:09:42 -04:00
a65975596e
Merge pull request #181 from resin-io/reword-example
...
Replace device name with uuid in env-variables command example
2015-09-01 13:03:27 -04:00
91f878cfc0
Update documentation
...
- There were changes to commands.
- Regenerates `login` documentation with production url.
Fixes: https://github.com/resin-io/resin-cli/issues/182
2015-09-01 13:01:47 -04:00
8c3e832cdc
Replace device name with uuid in env-variables command example
2015-09-01 00:56:01 +03:00
a5c670902d
Merge pull request #179 from resin-io/jviotti/appveyor/cache
...
Add Appveyor cache support
2015-08-28 08:42:57 -04:00
14be1d5f9f
Add Appveyor cache support
2015-08-28 08:22:26 -04:00
41d6d5c670
Merge pull request #178 from resin-io/jviotti/refactor/quickstart
...
Refactor quickstart
2015-08-27 10:13:56 -04:00
a090e6c21d
Refactor quickstart
...
- Use promises.
- Move some logic to `helpers`.
- Inline `device await` command.
2015-08-27 10:01:33 -04:00
d78c1ffa47
Merge pull request #176 from resin-io/jviotti/cleanup/compiled-files
...
Remove orphaned files from build/
2015-08-27 09:03:38 -04:00
5808d20d88
Merge pull request #177 from resin-io/modify-capitanodoc
...
Update capitanodoc.json
2015-08-27 15:45:05 +03:00
7f4065e3da
Update capitanodoc.json
2015-08-27 15:30:38 +03:00
07daa51051
Remove orphaned files from build/
...
Some files were deleted from `lib/` but still live in `build/`. More
specifically:
- `build/actions/update.js`.
- `build/data/`.
2015-08-27 08:29:22 -04:00
d10d4ce185
Merge pull request #174 from resin-io/jviotti/feature/confirm-abortion
...
Add `Aborted` error message when not accepting a confirmation
2015-08-24 08:47:29 -04:00
7f763e7881
Merge pull request #175 from resin-io/jviotti/fix/update-root
...
Don't check for available updates when running as root
2015-08-24 07:41:56 -04:00
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
354921ca92
Add Aborted
error message when not accepting a confirmation
...
This prevents a lot of duplicate code to check for confirmation status
and exit from the current action.
2015-08-20 16:16:20 -04:00
fb28cc7d2f
Merge pull request #173 from resin-io/jviotti/upgrade/form
...
Upgrade Resin CLI Form to v1.2.1
2015-08-20 16:11:17 -04:00
7cf89a9bf6
Merge pull request #172 from resin-io/jviotti/cleanup/readme
...
Remove Man pages section from README.md
2015-08-20 16:11:09 -04:00
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
1c48328347
Remove Man pages section from README.md
...
Man pages are not longer being produced.
2015-08-20 12:04:11 -04:00
9b69fe3c3c
Merge pull request #171 from resin-io/jviotti/upgrade/cli-form
...
Update Resin CLI Form to v1.2.0
2015-08-20 12:02:26 -04:00
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
fcc44949a7
Merge pull request #169 from resin-io/jviotti/refactor/plugins
...
Upgrade Nplugm to v3.0.0
2015-08-19 12:49:32 -04:00
006764af66
Merge pull request #170 from resin-io/jviotti/cleanup-resin-write
...
Remove unused resin-write bin script
2015-08-19 12:49:25 -04:00
b879d3f9ea
Remove unused resin-write bin script
...
This script was used along with windosu as a workaround to call `device
init` with elevated permissions.
Since Windows elevation is not used anymore for now, this script can be
removed.
2015-08-19 11:30:48 -04:00
7f4863da86
Upgrade Nplugm to v3.0.0
...
This new version supports promises and contains speed improvements.
2015-08-19 11:27:28 -04:00
ba6f50d171
Merge pull request #168 from resin-io/jviotti/cleanup/plugins
...
Remove plugins manipulation commands
2015-08-19 11:14:35 -04:00
a803d4f646
Remove plugins manipulation commands
...
Since we're now forcing users to rely on `npm` directly for updates, we
can also get rid of plugin commands that attempt to
install/update/remove using npm programatically and require users to use
`npm` directly as well.
This commit removes the following commands:
- `plugins`
- `plugin install`
- `plugin update`
- `plugin remove`
Despite plugin related commands being removed, *the functionality that
scans for plugins and registers them remains intact*.
2015-08-19 10:57:42 -04:00
85d940df66
Merge pull request #165 from resin-io/jviotti/feature/update-notifier
...
Notify the user if there is an available update
2015-08-19 07:56:40 -04:00
6f9535ca34
Merge pull request #167 from resin-io/issue-166
...
Display msg when app/device does not have env variables. Fix #166 .
2015-08-18 18:17:21 +03:00
019e2ac357
Display msg when app/device does not have env variables. Fix #166
2015-08-18 18:12:08 +03:00
433916e18a
Merge pull request #164 from resin-io/issue-90
...
Add message informing the user about potential delay in system img initialization. Fix #90 .
2015-08-18 16:04:44 +03:00
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
0595452c3d
Add message informing the user about potential delay in system img initialization. Fix #90 .
2015-08-18 15:43:52 +03:00