mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-17 02:24:48 +08:00
23 lines
450 B
Python
Executable File
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()
|