Add support for defining default values for flags
Moving forward one will be able to define default values (can be async) for the flags. Consider the following example
class MyCommand {
@flags.string({
description: 'The main HTML file that will be requested',
async defaultValue(command: Greet) {
return await command.prompt.ask('Define entrypoint as we detected multiple?')
},
})
public entrypoint: string
}