15 lines
444 B
Python
15 lines
444 B
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
|
||
|
|
from argparse import ArgumentParser
|
||
|
|
|
||
|
|
from ..App import App
|
||
|
|
from .Cmd import Cmd as CmdBase
|
||
|
|
|
||
|
|
class CmdPosix(CmdBase): # export
|
||
|
|
|
||
|
|
def __init__(self, parent: App) -> None:
|
||
|
|
super().__init__(parent, 'posix', help='Perform various operations on a distro through its POSIX utility interface')
|
||
|
|
self._add_subcommands()
|
||
|
|
|
||
|
|
def add_arguments(self, p: ArgumentParser) -> None:
|
||
|
|
super().add_arguments(p)
|