Skip to content

Commit

Permalink
chore(#154): move gefyra version command
Browse files Browse the repository at this point in the history
  • Loading branch information
SteinRobert committed Aug 19, 2022
1 parent 444eab4 commit d1115de
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions client/gefyra/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,12 @@ def main():
from gefyra.local.check import probe_kubernetes, probe_docker

args = parser.parse_args()

if args.action == "version":
check = not args.no_check
version(configuration_package, check)
exit(0)

if args.debug:
logger.setLevel(logging.DEBUG)
else:
Expand Down Expand Up @@ -323,9 +329,6 @@ def main():
elif args.action == "check":
probe_docker()
probe_kubernetes(config=configuration)
elif args.action == "version":
check = not args.no_check
version(configuration_package, check)
elif args.action == "telemetry":
telemetry_command(on=args.on, off=args.off)
else:
Expand Down

0 comments on commit d1115de

Please sign in to comment.