PublisherCommand constructor
PublisherCommand()
Creates a new PublisherCommand and registers platform-specific publish subcommands.
Available subcommands:
firebase- Publish to Firebase App Distributionfastlane- Publish using Fastlane automationxcrun- Publish to App Store using Xcode tools (macOS only)github- Publish as GitHub release
Implementation
PublisherCommand() {
// Add Firebase App Distribution publisher (available on all platforms)
addSubcommand(firebase_command.Command());
// Add Fastlane publisher (available on all platforms)
addSubcommand(fastlane_command.Command());
// Add Xcrun publisher for App Store (only available on macOS)
if (Platform.isMacOS) addSubcommand(xcrun_command.Command());
// Add GitHub releases publisher (available on all platforms)
addSubcommand(github_command.Command());
}