Add SiteCmd CLI command for ZeroFrame API calls
This commit is contained in:
parent
a65d21d7e4
commit
8c0c0868e3
1 changed files with 6 additions and 0 deletions
|
@ -131,6 +131,12 @@ class Config(object):
|
||||||
action = self.subparsers.add_parser("siteVerify", help='Verify site files using sha512: address')
|
action = self.subparsers.add_parser("siteVerify", help='Verify site files using sha512: address')
|
||||||
action.add_argument('address', help='Site to verify')
|
action.add_argument('address', help='Site to verify')
|
||||||
|
|
||||||
|
# SiteCmd
|
||||||
|
action = self.subparsers.add_parser("siteCmd", help='Execute a ZeroFrame API command on a site')
|
||||||
|
action.add_argument('address', help='Site address')
|
||||||
|
action.add_argument('cmd', help='API command name')
|
||||||
|
action.add_argument('parameters', help='Parameters of the command', nargs='?')
|
||||||
|
|
||||||
# dbRebuild
|
# dbRebuild
|
||||||
action = self.subparsers.add_parser("dbRebuild", help='Rebuild site database cache')
|
action = self.subparsers.add_parser("dbRebuild", help='Rebuild site database cache')
|
||||||
action.add_argument('address', help='Site to rebuild')
|
action.add_argument('address', help='Site to rebuild')
|
||||||
|
|
Loading…
Reference in a new issue