18 lines
543 B
Python
18 lines
543 B
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
from typing import TYPE_CHECKING
|
||
|
|
|
||
|
|
from .Cmd import Cmd
|
||
|
|
|
||
|
|
if TYPE_CHECKING:
|
||
|
|
from ..CmdSecrets import CmdSecrets
|
||
|
|
from argparse import Namespace, ArgumentParser
|
||
|
|
|
||
|
|
class CmdRmCompilationOutput(Cmd): # export
|
||
|
|
|
||
|
|
def __init__(self, parent: CmdSecrets) -> None:
|
||
|
|
super().__init__(parent, 'rm-compilation-output', help="Remove package compilation output files")
|
||
|
|
|
||
|
|
async def _run(self, args: Namespace) -> None:
|
||
|
|
await self._remove_compilation_targets(args.packages)
|