Skip to content

Commit

Permalink
Merge pull request #44 from jtpio/version
Browse files Browse the repository at this point in the history
Return version with `voila --version`
  • Loading branch information
SylvainCorlay committed Dec 9, 2018
2 parents 04a906c + 2558b5a commit d8158c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions voila/app.py
Expand Up @@ -34,12 +34,14 @@
from .paths import ROOT, STATIC_ROOT, TEMPLATE_ROOT
from .handler import VoilaHandler
from .treehandler import VoilaTreeHandler
from ._version import __version__

_kernel_id_regex = r"(?P<kernel_id>\w+-\w+-\w+-\w+-\w+)"


class Voila(Application):
name = 'voila'
version = __version__
examples = 'voila example.ipynb --port 8888'
description = Unicode(
"""voila [OPTIONS] NOTEBOOK_FILENAME
Expand Down

0 comments on commit d8158c6

Please sign in to comment.