mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-24 13:43:01 +00:00
16 lines
392 B
Python
16 lines
392 B
Python
# local
|
|
from ..subcommand import ProjectCommand
|
|
|
|
|
|
class DisableCommand(ProjectCommand):
|
|
"""kiwi disable"""
|
|
|
|
def __init__(self):
|
|
super().__init__(
|
|
'disable', num_projects='+',
|
|
action="Disabling",
|
|
description="Disable project(s) in this instance"
|
|
)
|
|
|
|
def _run_project(self, runner, args, project):
|
|
return project.disable()
|