Skip to content

Commit

Permalink
feat: jans-linux-setup show version
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Mar 17, 2022
1 parent 8a8a05e commit b16b77d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import argparse

from setup_app.version import __version__
from setup_app.utils import base

parser_description='''Use setup.py to configure your Jans Server and to add initial data required for
Expand All @@ -8,6 +9,7 @@
'''

parser = argparse.ArgumentParser(description=parser_description)
parser.add_argument('--version', action='version', version='%(prog)s ' + __version__)
parser.add_argument('-c', help="Use command line instead of tui", action='store_true')
parser.add_argument('-d', help="Installation directory")
parser.add_argument('-n', help="No interactive prompt before install starts", action='store_true')
Expand Down
2 changes: 2 additions & 0 deletions jans-linux-setup/jans_setup/setup_app/utils/arg_parser.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import argparse

from setup_app.version import __version__
from setup_app.utils import base

parser_description='''Use this script to configure your Jans Server and to add initial data required for
Expand All @@ -8,6 +9,7 @@
'''

parser = argparse.ArgumentParser(description=parser_description)
parser.add_argument('--version', action='version', version='%(prog)s ' + __version__)
parser.add_argument('-c', help="Use command line instead of tui", action='store_true')
parser.add_argument('-d', help="Installation directory")
parser.add_argument('-f', help="Specify setup.properties file")
Expand Down

0 comments on commit b16b77d

Please sign in to comment.