binfmt: move to own module, add cmd_register(), cmd_unregister() to cli

This commit is contained in:
InsanePrawn 2022-12-22 02:14:56 +01:00 committed by Prawn
parent 46507f8dbe
commit c86ce577d1
6 changed files with 25 additions and 1 deletions

View file

@ -11,6 +11,7 @@ from logger import color_option, logging, quiet_option, setup_logging, verbose_o
from wrapper import get_wrapper_type, enforce_wrap, nowrapper_option
from progressbar import progress_bars_option
from binfmt.cli import cmd_binfmt
from config.cli import config, config_option, cmd_config
from packages.cli import cmd_packages
from flavours.cli import cmd_flavours
@ -77,6 +78,7 @@ def main():
exit(1)
cli.add_command(cmd_binfmt)
cli.add_command(cmd_cache)
cli.add_command(cmd_chroot)
cli.add_command(cmd_config)