mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
packages/cli: add help str for cmd_list
This commit is contained in:
parent
6b613287bf
commit
b3e2059196
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ def cmd_clean(what: Iterable[str] = ['all'], force: bool = False, noop: bool = F
|
||||||
|
|
||||||
@cmd_packages.command(name='list')
|
@cmd_packages.command(name='list')
|
||||||
def cmd_list():
|
def cmd_list():
|
||||||
enforce_wrap()
|
"List information about available source packages (PKGBUILDs)"
|
||||||
logging.info('Discovering packages.')
|
logging.info('Discovering packages.')
|
||||||
packages = discover_pkgbuilds()
|
packages = discover_pkgbuilds()
|
||||||
logging.info(f'Done! {len(packages)} Pkgbuilds:')
|
logging.info(f'Done! {len(packages)} Pkgbuilds:')
|
||||||
|
@ -340,4 +340,4 @@ def check_arches_hint(path: str, required: str, provided: list[str]):
|
||||||
if required == 'all':
|
if required == 'all':
|
||||||
for arch in ARCHES:
|
for arch in ARCHES:
|
||||||
if arch not in provided:
|
if arch not in provided:
|
||||||
logging.warning(f'Missing {arch} in arches list in {path}, because hint is `all`')
|
logging.warning(f'Missing {arch} in arches list in {path}, because _arches hint is `all`')
|
||||||
|
|
Loading…
Add table
Reference in a new issue