Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
Giving to DORA a semantic versioning as defined in: https://semver.org/
  • Loading branch information
upsetbit committed Nov 21, 2017
1 parent 6f41782 commit 3913fbc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/dora.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


__program__ = 'dora'
__version__ = 'alpha-0.1'
__version__ = '0.1.0-beta+006'
__author__ = 'Caian R. Ertl'


Expand Down Expand Up @@ -98,7 +98,7 @@ def __init__(self):
self._parser.add_argument(
'-v', '--version',
action = 'version',
version = __version__,
version = __program__ + ' ' + __version__ + ' (' + __author__ + ')',
help = 'show the application version and exit')

self._parser.add_argument(
Expand Down Expand Up @@ -136,7 +136,7 @@ def __init__(self):
def act(self):
"""."""
argp = self._parser.parse_args()
#print(vars(argp))

if argp.copyright:
self.show_copyright()

Expand All @@ -151,9 +151,11 @@ def act(self):
'Try \'dora --help\' for more information.')

def show_copyright(self):
"""."""
print(__copyright__)

def _start(self, f_port, debug_mode):
"""."""
dora.run(debug = debug_mode,
host = '0.0.0.0',
use_reloader = True,
Expand Down

0 comments on commit 3913fbc

Please sign in to comment.