Page MenuHome

__init__.py
No OneTemporary

__init__.py

"""Commandline interface.
Run commands with 'flask <command>'
"""
import logging
from flask_script import Manager
from pillar import current_app
from pillar.cli.maintenance import manager_maintenance
from pillar.cli.operations import manager_operations
from pillar.cli.setup import manager_setup
log = logging.getLogger(__name__)
manager = Manager(current_app)
manager.add_command("maintenance", manager_maintenance)
manager.add_command("setup", manager_setup)
manager.add_command("operations", manager_operations)

File Metadata

Mime Type
text/x-python
Expires
Wed, Nov 30, 7:52 PM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
35/f6/004ad090c96027de7deeb05c0f8f

Event Timeline