Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NewPluginCommand<Context>

Type parameters

  • Context: BaseContext

Hierarchy

  • Command
    • NewPluginCommand

Properties

Methods

Properties

target

target: string = Option.String()

Static paths

paths: string[][] = [[`new`, `plugin`],]

Static usage

usage: Usage = Command.Usage({description: `generate the template for a new plugin`,details: `This command generates a new plugin based on the template.For more details about the build process, please consult the \`@yarnpkg/builder\` README: https://github.com/yarnpkg/berry/blob/HEAD/packages/yarnpkg-builder/README.md.`,examples: [[`Create a new plugin`,`$0 new plugin yarn-plugin-hello-world`,]],})

Methods

execute

  • execute(): Promise<void>

Generated using TypeDoc