Permalink
Browse files

Rename the gpp command.

  • Loading branch information...
joeyespo committed Dec 27, 2012
1 parent 277f903 commit 1bf10a0be512d31216cc3f73b56a7213856e415b
Showing with 2 additions and 2 deletions.
  1. +1 −1 gitpress/command.py
  2. +1 −1 setup.py
@@ -51,7 +51,7 @@ def main(args=None):
return 0
def preview_command(args=None):
def gpp(args=None):
"""Shortcut function for running the previewing command."""
if args is None:
args = sys.argv[1:]
@@ -43,5 +43,5 @@ def read(fname):
package_data={'': ['LICENSE'], 'gitpress': ['static/*', 'templates/*']},
install_requires=read('requirements.txt'),
zip_safe=False,
entry_points={'console_scripts': ['gitpress = gitpress.command:main', 'gpp = gitpress.command:preview_command']},
entry_points={'console_scripts': ['gitpress = gitpress.command:main', 'gpp = gitpress.command:gpp']},
)

0 comments on commit 1bf10a0

Please sign in to comment.