cmds.distro.CmdInfo: Rename to cmds.platform.CmdInfo
Rename command "distro" to "pkg" together with "info", its last remaining subcommand. "distro" is often used in the sense of "Linux distribution", which would be too narrow for the targets jw-pkg could theoretically support.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
5830984bfc
commit
514d66dac1
10 changed files with 20 additions and 20 deletions
16
src/python/jw/pkg/cmds/platform/Cmd.py
Normal file
16
src/python/jw/pkg/cmds/platform/Cmd.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from ...lib.Distro import Distro
|
||||
from ..CmdPlatform import CmdPlatform
|
||||
|
||||
from ..Cmd import Cmd as Base
|
||||
|
||||
class Cmd(Base): # export
|
||||
|
||||
def __init__(self, parent: CmdPlatform, name: str, help: str) -> None:
|
||||
super().__init__(parent, name, help)
|
||||
Loading…
Add table
Add a link
Reference in a new issue