shortcutsSpec top-level property

FigSpec shortcutsSpec
final

Implementation

final FigSpec shortcutsSpec = FigSpec(
  name: 'shortcuts',
  description: 'Command-line utility for running shortcuts',
  subcommands: [
    ...subcommands,
    FigSubcommand(
      name: ['help'],
      description: 'Show help information',
      subcommands: subcommands
          .map((s) => FigSubcommand(
                name: s.name,
                description: s.description,
                icon: s.icon,
              ))
          .toList(),
    ),
  ],
);