1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-22 21:03:00 +00:00
kiwi-scp/kiwi_scp/subcommands/disable.py

17 lines
392 B
Python
Raw Normal View History

2020-08-18 13:56:58 +00:00
# local
2020-08-19 15:21:38 +00:00
from ..subcommand import ProjectCommand
2020-08-18 13:56:58 +00:00
class DisableCommand(ProjectCommand):
"""kiwi disable"""
def __init__(self):
super().__init__(
'disable', num_projects='+',
action="Disabling",
2020-08-20 12:40:49 +00:00
description="Disable project(s) in this instance"
2020-08-18 13:56:58 +00:00
)
def _run_project(self, runner, args, project):
return project.disable()