Juan Cruz Viotti 445e37ccaf Call os initialize as an elevated process
Currently, the fact that `os initialize` requires elevated permissions
forced us to require calling commands that reuse it, such as `device
init` and `quickstart` with administrator permissions as well.

This ended up causing issues like saving images in the cache that belong
to root, or initializing git repositories that requires `sudo` to
commit.

The solution is to call `os initialize` as a child process preppending
`sudo` within `device init`.

Fixes: https://github.com/resin-io/resin-cli/issues/109
2015-10-01 13:07:53 -04:00
2015-08-19 11:30:48 -04:00
2015-07-07 18:01:25 -04:00
2014-10-31 09:49:57 -04:00
2015-09-08 09:07:48 +03:00
2015-04-06 10:08:49 -04:00
2015-08-06 12:12:44 -04:00
2015-08-28 08:22:26 -04:00
2015-09-29 13:03:14 -04:00
2014-10-31 09:48:53 -04:00
2015-08-04 10:00:09 -04:00
2015-03-05 15:43:39 -04:00

Resin CLI

npm version dependencies Build Status Build status

The official Resin CLI tool.

Requisites

Getting Started

Installing

This might require elevated privileges in some environments.

$ npm install -g resin-cli

Login

$ resin login

List available commands

$ resin help

Run the quickstart wizard

Run as root on UNIX based systems, and in an administrator command line prompt in Windows.

$ resin quickstart

Support

If you're having any problem, check our troubleshooting guide and if your problem is not addressed there, please raise an issue on GitHub and the Resin.io team will be happy to help.

License

The project is licensed under the MIT license.

Description
The official balena CLI tool.
Readme Pixar 73 MiB
Languages
TypeScript 97.9%
JavaScript 1.5%
Shell 0.4%
EJS 0.1%