Files
stacks-puppet-node/bin/blockstore-cli
2015-02-14 19:09:37 -05:00

23 lines
450 B
Python
Executable File

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Blockstore
~~~~~
:copyright: (c) 2015 by Openname.org
:license: MIT, see LICENSE for more details.
"""
import sys
import os
# Hack around absolute paths
current_dir = os.path.abspath(os.path.dirname(__file__))
parent_dir = os.path.abspath(current_dir + "/../")
sys.path.insert(0, parent_dir)
from blockstore.blockstore_cli import run_cli
if __name__ == '__main__':
run_cli()