packageManagerCommand top-level property

FigSubcommand packageManagerCommand
final

Implementation

final FigSubcommand packageManagerCommand = FigSubcommand(
  name: ['package-manager'],
  description: 'Prints the value of the current package manager',
  subcommands: [
    FigSubcommand(
      name: ['get'],
      description: 'Prints the value of the current package manager',
    ),
    FigSubcommand(
      name: ['set'],
      description:
          'Enables the specified package manager for the NativeScript CLI. Supported values are npm, yarn and pnpm',
    ),
  ],
  options: [helpOption('package-manager')],
);