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

Commit

Permalink
relative paths for CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
isysd committed Nov 28, 2015
1 parent c7fa075 commit 9414e0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_swagger_spec.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import os
import sys
import argparse
import json
import pkg_resources
from flask_swagger import swagger

sys.path.append(os.getcwd())

parser = argparse.ArgumentParser()
parser.add_argument('app', help='the flask app to swaggerify')
#parser.add_argument('--definitions', help='json definitions file')
Expand Down

0 comments on commit 9414e0b

Please sign in to comment.