packages/flavours: rename cmd_flavours_list() to cmd_flavours(), add to main cli directly

This commit is contained in:
InsanePrawn 2022-10-08 02:20:16 +02:00
parent 6581e34087
commit 0e86de1f44
4 changed files with 4 additions and 9 deletions

View file

@ -17,7 +17,6 @@ from wrapper import check_programs_wrap, enforce_wrap
from .build import build_packages_by_paths
from .pkgbuild import discover_pkgbuilds, filter_pkgbuilds, init_pkgbuilds
from .flavour import cmd_flavours_list
def build(
@ -51,9 +50,6 @@ def cmd_packages():
"""Build and manage packages and PKGBUILDs"""
cmd_packages.add_command(cmd_flavours_list, 'flavours')
@cmd_packages.command(name='update')
@click.option('--non-interactive', is_flag=True)
@click.option('--switch-branch', is_flag=True, help="Force the branch to be corrected even in non-interactive mode")