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.androidDistributionOutputDir.path,
      binaryType: 'apk',
      repoName: "\${{GITHUB_REPO_NAME}}",
      repoOwner: "\${{GITHUB_REPO_OWNER}}",
      token: "\${{GITHUB_TOKEN}}",
      releaseName: "\${{RELEASE_NAME}}",
      releaseBody: '',
    );