Skip to content

cli_options

appimage_updater.ui.cli_options

CLI option and argument definitions for AppImage Updater commands.

This module centralizes all typer.Option and typer.Argument definitions to keep them organized and reusable across commands.

CONFIG_DIR_OPTION = typer.Option(None, '--config-dir', '-d', help='Configuration directory path') module-attribute

CONFIG_FILE_OPTION = typer.Option(None, '--config', '-c', help='Configuration file path') module-attribute

CREATE_DIR_OPTION = typer.Option(False, '--create-dir', help="Automatically create download directory if it doesn't exist (no prompt)") module-attribute

DRY_RUN_OPTION = typer.Option(False, '--dry-run', help='Check for updates without downloading') module-attribute

EDIT_AUTO_SUBDIR_OPTION = typer.Option(None, '--auto-subdir/--no-auto-subdir', help='Enable or disable automatic subdirectory creation') module-attribute

EDIT_BASENAME_OPTION = typer.Option(None, '--basename', help='Update the base name for file matching') module-attribute

EDIT_CHECKSUM_ALGORITHM_OPTION = typer.Option(None, '--checksum-algorithm', help='Update the checksum algorithm') module-attribute

EDIT_CHECKSUM_OPTION = typer.Option(None, '--checksum/--no-checksum', help='Enable or disable checksum verification') module-attribute

EDIT_CHECKSUM_PATTERN_OPTION = typer.Option(None, '--checksum-pattern', help='Update the checksum file pattern') module-attribute

EDIT_CHECKSUM_REQUIRED_OPTION = typer.Option(None, '--checksum-required/--checksum-optional', help='Make checksum verification required or optional') module-attribute

EDIT_DIRECT_OPTION = typer.Option(None, '--direct/--no-direct', help='Treat URL as direct download link (bypasses repository detection)') module-attribute

EDIT_DOWNLOAD_DIR_OPTION = typer.Option(None, '--download-dir', help='Update the download directory') module-attribute

EDIT_DRY_RUN_OPTION = typer.Option(False, '--dry-run', help='Preview configuration changes without saving') module-attribute

EDIT_ENABLE_OPTION = typer.Option(None, '--enable/--disable', help='Enable or disable the application') module-attribute

EDIT_FORCE_OPTION = typer.Option(False, '--force', help='Skip URL validation and normalization') module-attribute

EDIT_PATTERN_OPTION = typer.Option(None, '--pattern', help='Update the file pattern (regex)') module-attribute

EDIT_PRERELEASE_OPTION = typer.Option(None, '--prerelease/--no-prerelease', help='Enable or disable prereleases') module-attribute

EDIT_RETAIN_COUNT_OPTION = typer.Option(None, '--retain-count', help='Update the number of old files to retain', min=1, max=10) module-attribute

EDIT_ROTATION_OPTION = typer.Option(None, '--rotation/--no-rotation', help='Enable or disable file rotation') module-attribute

EDIT_URL_OPTION = typer.Option(None, '--url', help='Update the repository URL') module-attribute

FORMAT_OPTION = typer.Option(OutputFormat.RICH, '--format', '-f', help='Output format: rich, plain, json, or html', case_sensitive=False) module-attribute

HTTP_STACK_DEPTH_OPTION = typer.Option(4, '--http-stack-depth', help='Number of call stack frames to capture for each HTTP request (1-10)', min=1, max=10) module-attribute

HTTP_TRACK_HEADERS_OPTION = typer.Option(False, '--http-track-headers', help='Include request headers in HTTP tracking (may contain sensitive data)') module-attribute

INSTRUMENT_HTTP_OPTION = typer.Option(False, '--instrument-http', help='Enable HTTP request tracking to analyze duplicate requests and performance') module-attribute

NO_INTERACTIVE_OPTION = typer.Option(False, '--no-interactive', help='Disable interactive distribution selection (use best match automatically)') module-attribute

NO_OPTION = typer.Option(False, '--no', '-n', help='Automatically answer no to prompts (non-interactive mode)') module-attribute

REPOSITORY_APP_NAME_ARGUMENT = typer.Argument(help="Names of applications to examine repository information for (case-insensitive, supports glob patterns like 'Orca*'). Multiple names can be specified.") module-attribute

REPOSITORY_ASSETS_OPTION = typer.Option(False, '--assets', '-a', help='Show detailed asset information for each release') module-attribute

REPOSITORY_DRY_RUN_OPTION = typer.Option(False, '--dry-run', help='Show repository URLs that would be examined without fetching data') module-attribute

REPOSITORY_LIMIT_OPTION = typer.Option(10, '--limit', '-l', help='Maximum number of releases to display (default: 10)', min=1, max=50) module-attribute

VERBOSE_OPTION = typer.Option(False, '--verbose', '-v', help='Show resolved parameter values including defaults') module-attribute

YES_OPTION = typer.Option(False, '--yes', '-y', help='Automatically answer yes to prompts (non-interactive mode)') module-attribute