forked from Mirror/pmbootstrap
commands: move index command to pmb/commands (MR 2252)
Use the new command runner for pmbootstrap index. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
d4070c0e9e
commit
852ace63c4
5 changed files with 21 additions and 9 deletions
14
pmb/commands/index.py
Normal file
14
pmb/commands/index.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Copyright 2024 Caleb Connolly
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
from pmb import commands
|
||||
import pmb.build.other
|
||||
|
||||
class Index(commands.Command):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
pmb.build.other.index_repo()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue