-
Notifications
You must be signed in to change notification settings - Fork 1
Add command to download and install binaries from CLI #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| option :api_token, type: :string, required: false, | ||
| desc: 'API token for authentication, defaults to ENV[EMERGE_API_TOKEN]' | ||
| option :build_id, type: :string, required: true, desc: 'Build ID to download' | ||
| option :install, type: :boolean, required: false, desc: 'Install the build on the device' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe this should default to true?
lib/emerge_cli.rb
Outdated
|
|
||
| register 'build-distribution' do |prefix| | ||
| prefix.register 'validate-app', Commands::ValidateApp | ||
| prefix.register 'download-and-install', Commands::DownloadAndInstall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe for brevity this can be install? Otherwise emerge build-distribution download-and-install is a big mouthful to type
No description provided.