updateCommand top-level property
Implementation
final FigSubcommand updateCommand = FigSubcommand(
name: ['update'],
description:
'Updates the project with the latest versions of platform runtimes, cross-platform modules and webpack',
isDangerous: true,
subcommands: [
FigSubcommand(
name: ['next'],
description: 'The latest development release',
),
],
args: [
FigArg(
name: 'version',
description: 'The version to update the project to',
isOptional: true)
],
options: [helpOption('update')],
);