PublisherCommand constructor

PublisherCommand()

Creates a new PublisherCommand and registers platform-specific publish subcommands.

Implementation

PublisherCommand() {
  addSubcommand(firebase_command.Command());
  addSubcommand(fastlane_command.Command());
  if (Platform.isMacOS) addSubcommand(xcrun_command.Command());
  addSubcommand(github_command.Command());
  addSubcommand(huawei_command.Command());
}