download: Default to factory + latest build ID

This commit is contained in:
Danny Lin 2021-12-22 19:13:25 -08:00
parent f500075648
commit c76e60409f

View file

@ -14,8 +14,8 @@ export default class Download extends Command {
static flags = { static flags = {
help: flags.help({char: 'h'}), help: flags.help({char: 'h'}),
type: flags.string({char: 't', options: ['factory', 'ota', 'vendor'], description: 'type(s) of images to download', default: 'factory', multiple: true}), type: flags.string({char: 't', options: ['factory', 'ota', 'vendor'], description: 'type(s) of images to download', default: ['factory'], multiple: true}),
buildId: flags.string({char: 'b', description: 'build ID(s) of the images to download', required: true, multiple: true}), buildId: flags.string({char: 'b', description: 'build ID(s) of the images to download', required: true, multiple: true, default: ['latest']}),
device: flags.string({char: 'd', description: 'device(s) to download images for', required: true, multiple: true}), device: flags.string({char: 'd', description: 'device(s) to download images for', required: true, multiple: true}),
} }