Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 9414e0b

Browse files
author
isysd
committed
relative paths for CLI
1 parent c7fa075 commit 9414e0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_swagger_spec.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
import os
2+
import sys
13
import argparse
24
import json
35
import pkg_resources
46
from flask_swagger import swagger
57

8+
sys.path.append(os.getcwd())
9+
610
parser = argparse.ArgumentParser()
711
parser.add_argument('app', help='the flask app to swaggerify')
812
#parser.add_argument('--definitions', help='json definitions file')

0 commit comments

Comments
 (0)