Skip to content

Commit 06774b8

Browse files
committed
embed utils in cli
1 parent e3fe85c commit 06774b8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

cli/cyberPanel.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,16 @@ def main():
12821282

12831283
cyberpanel.issueSelfSignedSSL(args.domainName)
12841284

1285+
elif args.function == 'utility':
1286+
command = '/usr/bin/cyberpanel_utility'
1287+
ProcessUtilities.executioner(command)
1288+
elif args.function == 'upgrade' or args.function == 'update':
1289+
command = '/usr/bin/cyberpanel_utility --upgrade'
1290+
ProcessUtilities.executioner(command)
1291+
elif args.function == 'utilhelp':
1292+
command = '/usr/bin/cyberpanel_utility --help'
1293+
ProcessUtilities.executioner(command)
1294+
12851295

12861296

12871297
if __name__ == "__main__":

0 commit comments

Comments
 (0)