RenameCommandRunner constructor

RenameCommandRunner()

Constructor for RenameCommandRunner. It initializes the super class with the name of the command and its description.

Implementation

RenameCommandRunner()
    : super(
        'rename',
        'A CLI tool that helps for renaming in Flutter projects.',
      ) {
  argParser.addFlag(
    'version',
    abbr: 'v',
    negatable: false,
  );

  addCommand(GetAppNameCommand());
  addCommand(SetAppNameCommand());
  addCommand(GetBundleIdCommand());
  addCommand(SetBunleIdCommand());
}