pmb.commands package

Submodules

pmb.commands.aportgen module

class pmb.commands.aportgen.Aportgen(package_list: list[str], fork_alpine: bool, fork_alpine_retain_branch: bool)

Bases: Command

run() None

Run the command.

pmb.commands.base module

class pmb.commands.base.Command

Bases: object

Base class for pmbootstrap commands.

run()

Run the command.

pmb.commands.flasher module

class pmb.commands.flasher.Flasher(action_flasher: str, autoinstall: bool, cmdline: str | None, flash_method: str, no_reboot: bool | None, partition: str | None, resume: bool | None)

Bases: Command

run() None

Run the command.

pmb.commands.index module

class pmb.commands.index.Index

Bases: Command

run()

Run the command.

pmb.commands.kconfig_check module

pmb.commands.kconfig_edit module

pmb.commands.log module

class pmb.commands.log.Log(clear_log: bool, lines: int)

Bases: Command

clear_log: bool
lines: int
run()

Run the command.

pmb.commands.pkgrel_bump module

class pmb.commands.pkgrel_bump.PkgrelBump(packages: list[str], dry_run: bool, auto: bool)

Bases: Command

run() None

Run the command.

pmb.commands.pkgver_bump module

class pmb.commands.pkgver_bump.PkgverBump(packages: list[str])

Bases: Command

run() None

Run the command.

pmb.commands.pull module

class pmb.commands.pull.Pull

Bases: Command

run() bool

Run the command.

pmb.commands.repo_bootstrap module

class pmb.commands.repo_bootstrap.RepoBootstrap(arch: Arch | None, repository: str)

Bases: Command

arch: Arch
check_existing_pkgs()
check_repo_arg()
context: Context
get_packages(bootstrap_line: str) list[str]
get_steps() dict[str, str]
log_progress(msg)
progress_done: int = 0
progress_step: str
progress_total: int = 0
repo: str
run()

Run the command.

run_steps(steps: dict[str, str]) None
set_progress_total(steps: dict[str, str]) None

pmb.commands.shutdown module

class pmb.commands.shutdown.Shutdown

Bases: Command

run()

Run the command.

Module contents

pmb.commands.run_command(args: PmbArgs) None