Skip to content
Permalink
Browse files

embed utils in cli

  • Loading branch information
usmannasir committed Jan 20, 2020
1 parent e3fe85c commit 06774b846e4e4d30d4e52d76a1e76983f65f8973
Showing with 10 additions and 0 deletions.
  1. +10 −0 cli/cyberPanel.py
@@ -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__":

0 comments on commit 06774b8

Please sign in to comment.
You can’t perform that action at this time.