Skip to content

Commit

Permalink
Renamed jwt CLI script to jwt-cli to avoid issues with jwt script ove…
Browse files Browse the repository at this point in the history
…rlapping with the jwt package. Fixes #130
  • Loading branch information
mark-adams committed Oct 23, 2015
1 parent d338883 commit c6b7077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions jwt/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

from . import DecodeError, __package__, __version__, decode, encode


def main():

usage = '''Encodes or decodes JSON Web Tokens based on input.
Expand All @@ -31,7 +30,7 @@ def main():
'''
p = optparse.OptionParser(
usage=usage,
prog=__package__,
prog='jwt-cli',
version='%s %s' % (__package__, __version__),
)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def get_version(package):
),
entry_points={
'console_scripts': [
'jwt = jwt.__main__:main'
'jwt-cli = jwt.__main__:main'
]
}
)

0 comments on commit c6b7077

Please sign in to comment.