mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-24 21:52:59 +00:00
16 lines
386 B
Python
16 lines
386 B
Python
# local
|
|
from ..subcommand import ProjectCommand
|
|
|
|
|
|
class EnableCommand(ProjectCommand):
|
|
"""kiwi enable"""
|
|
|
|
def __init__(self):
|
|
super().__init__(
|
|
'enable', num_projects='+',
|
|
action="Enabling",
|
|
description="Enable project(s) in this instance"
|
|
)
|
|
|
|
def _run_project(self, runner, args, project):
|
|
return project.enable()
|