factory
appimage_updater.commands.factory
¶
Command factory for creating command instances.
CommandFactory
¶
Factory for creating command instances from CLI parameters.
create_add_command(name=None, url=None, download_dir=None, create_dir=False, yes=False, config_file=None, config_dir=None, rotation=None, retain=5, symlink=None, prerelease=None, basename=None, checksum=None, checksum_algorithm='sha256', checksum_pattern='', checksum_required=None, pattern=None, direct=None, auto_subdir=None, verbose=False, dry_run=False, interactive=False, examples=False, debug=False, format=None)
staticmethod
¶
Create an AddCommand instance.
Source code in src/appimage_updater/commands/factory.py
create_check_command(app_names=None, config_file=None, config_dir=None, dry_run=False, yes=False, no=False, no_interactive=False, verbose=False, debug=False, info=False, instrument_http=False, http_stack_depth=4, http_track_headers=False, format='rich')
staticmethod
¶
Create a CheckCommand instance.
Source code in src/appimage_updater/commands/factory.py
create_config_command(action, setting='', value='', app_name='', config_file=None, config_dir=None, debug=False, format=None)
staticmethod
¶
Create a ConfigCommand instance.
Source code in src/appimage_updater/commands/factory.py
create_edit_command(app_names=None, config_file=None, config_dir=None, url=None, download_dir=None, basename=None, pattern=None, rotation=None, retain_count=None, symlink_path=None, prerelease=None, checksum=None, checksum_algorithm=None, checksum_pattern=None, checksum_required=None, direct=None, enable=None, force=False, create_dir=False, yes=False, auto_subdir=None, verbose=False, dry_run=False, debug=False, format=None)
staticmethod
¶
Create an EditCommand instance.
Source code in src/appimage_updater/commands/factory.py
create_list_command(config_file=None, config_dir=None, debug=False, format=None)
staticmethod
¶
Create a ListCommand instance.
Source code in src/appimage_updater/commands/factory.py
create_remove_command(app_names=None, config_file=None, config_dir=None, yes=False, verbose=False, debug=False, format=None)
staticmethod
¶
Create a RemoveCommand instance.
Source code in src/appimage_updater/commands/factory.py
create_repository_command(app_names=None, config_file=None, config_dir=None, assets=False, limit=10, dry_run=False, instrument_http=False, http_stack_depth=3, http_track_headers=False, verbose=False, debug=False, format=None)
staticmethod
¶
Create a RepositoryCommand instance.
Source code in src/appimage_updater/commands/factory.py
create_show_command(app_names=None, config_file=None, config_dir=None, verbose=False, debug=False, format=None)
staticmethod
¶
Create a ShowCommand instance.