Skip to content

Commit

Permalink
embed utils in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 20, 2020
1 parent e3fe85c commit 06774b8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cli/cyberPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1282,6 +1282,16 @@ def main():

cyberpanel.issueSelfSignedSSL(args.domainName)

elif args.function == 'utility':
command = '/usr/bin/cyberpanel_utility'
ProcessUtilities.executioner(command)
elif args.function == 'upgrade' or args.function == 'update':
command = '/usr/bin/cyberpanel_utility --upgrade'
ProcessUtilities.executioner(command)
elif args.function == 'utilhelp':
command = '/usr/bin/cyberpanel_utility --help'
ProcessUtilities.executioner(command)



if __name__ == "__main__":
Expand Down

0 comments on commit 06774b8

Please sign in to comment.