PlatformFileEditorCommand constructor
Constructor for PlatformFileEditorCommand. It initializes the command with its name and description.
Implementation
PlatformFileEditorCommand(
String executableName,
String description,
) {
argParser.addMultiOption(
RenameOption.targets.name,
help: 'Set which platforms to target.',
abbr: RenameOption.targets.abbr,
allowed: [
RenamePlatform.ios.name,
RenamePlatform.android.name,
RenamePlatform.macOS.name,
RenamePlatform.linux.name,
RenamePlatform.web.name,
RenamePlatform.windows.name,
],
defaultsTo: [
RenamePlatform.ios.name,
RenamePlatform.android.name,
],
);
}