Arguments.defaultConfigs constructor

Arguments.defaultConfigs(
  1. ArgResults? globalResults
)

Creates default GitHub configuration for basic usage.

Generates a basic GitHub Arguments instance with empty configuration suitable for initial setup or testing. All required fields are set to empty strings and must be configured before use.

Parameters:

  • globalResults - Optional global command arguments

Returns Arguments instance with default configuration:

  • iOS distribution directory as file path
  • Empty binary type (determined during processing)
  • Empty repository and authentication details

Note: This configuration is not functional and requires proper values for all repository and authentication parameters.

Implementation

factory Arguments.defaultConfigs(ArgResults? globalResults) => Arguments(
  Variables.fromSystem(globalResults),
  filePath: Files.iosDistributionDir.parent.path,
  binaryType: '',
  repoName: '',
  repoOwner: '',
  token: '',
  releaseName: '',
  releaseBody: '',
);