Skip to content

Commit

Permalink
Merge pull request #1351 from Keeper-Security/DR-857_fix_discovery_pr…
Browse files Browse the repository at this point in the history
…og_name_for_commands

DR-857 Update the prog name for commands
  • Loading branch information
jwalstra-keeper authored Jan 6, 2025
2 parents 1c6c299 + 8409c89 commit f45426f
Show file tree
Hide file tree
Showing 27 changed files with 68 additions and 414 deletions.
268 changes: 0 additions & 268 deletions keepercommander/commands/discover/debug.py

This file was deleted.

2 changes: 1 addition & 1 deletion keepercommander/commands/discover/job_remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class PAMGatewayActionDiscoverJobRemoveCommand(PAMGatewayActionDiscoverCommandBase):
parser = argparse.ArgumentParser(prog='dr-discover-command-process')
parser = argparse.ArgumentParser(prog='pam-action-discover-remove')
parser.add_argument('--job-id', '-j', required=True, dest='job_id', action='store',
help='Discovery job id.')

Expand Down
2 changes: 1 addition & 1 deletion keepercommander/commands/discover/job_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


class PAMGatewayActionDiscoverJobStartCommand(PAMGatewayActionDiscoverCommandBase):
parser = argparse.ArgumentParser(prog='dr-discover-start-command')
parser = argparse.ArgumentParser(prog='pam-action-discover-start')
parser.add_argument('--gateway', '-g', required=True, dest='gateway', action='store',
help='Gateway name of UID.')
parser.add_argument('--resource', '-r', required=False, dest='resource_uid', action='store',
Expand Down
2 changes: 1 addition & 1 deletion keepercommander/commands/discover/job_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _b(text):


class PAMGatewayActionDiscoverJobStatusCommand(PAMGatewayActionDiscoverCommandBase):
parser = argparse.ArgumentParser(prog='dr-discover-status-command')
parser = argparse.ArgumentParser(prog='pam-action-discover-status')
parser.add_argument('--gateway', '-g', required=False, dest='gateway', action='store',
help='Show only discovery jobs from a specific gateway.')
parser.add_argument('--job-id', '-j', required=False, dest='job_id', action='store',
Expand Down
56 changes: 0 additions & 56 deletions keepercommander/commands/discover/result_get.py

This file was deleted.

2 changes: 1 addition & 1 deletion keepercommander/commands/discover/result_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class PAMGatewayActionDiscoverResultProcessCommand(PAMGatewayActionDiscoverComma
Process the discovery data
"""

parser = argparse.ArgumentParser(prog='dr-discover-command-process')
parser = argparse.ArgumentParser(prog='pam-action-discover-process')
parser.add_argument('--job-id', '-j', required=True, dest='job_id', action='store',
help='Discovery job to process.')

Expand Down
2 changes: 1 addition & 1 deletion keepercommander/commands/discover/rule_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


class PAMGatewayActionDiscoverRuleAddCommand(PAMGatewayActionDiscoverCommandBase):
parser = argparse.ArgumentParser(prog='dr-discover-rule-add')
parser = argparse.ArgumentParser(prog='pam-action-discover-rule-add')
parser.add_argument('--gateway', '-g', required=True, dest='gateway', action='store',
help='Gateway name of UID.')
parser.add_argument('--action', '-a', required=True, choices=['add', 'ignore', 'prompt'],
Expand Down
2 changes: 1 addition & 1 deletion keepercommander/commands/discover/rule_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


class PAMGatewayActionDiscoverRuleListCommand(PAMGatewayActionDiscoverCommandBase):
parser = argparse.ArgumentParser(prog='dr-discover-rule-list')
parser = argparse.ArgumentParser(prog='pam-action-discover-rule-list')
parser.add_argument('--gateway', '-g', required=True, dest='gateway', action='store',
help='Gateway name of UID.')
parser.add_argument('--search', '-s', required=False, dest='search', action='store',
Expand Down
2 changes: 1 addition & 1 deletion keepercommander/commands/discover/rule_remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class PAMGatewayActionDiscoverRuleRemoveCommand(PAMGatewayActionDiscoverCommandBase):
parser = argparse.ArgumentParser(prog='dr-discover-rule-list')
parser = argparse.ArgumentParser(prog='pam-action-discover-rule-remove')
parser.add_argument('--gateway', '-g', required=True, dest='gateway', action='store',
help='Gateway name of UID')
parser.add_argument('--rule-id', '-i', required=True, dest='rule_id', action='store',
Expand Down
2 changes: 1 addition & 1 deletion keepercommander/commands/discover/rule_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class PAMGatewayActionDiscoverRuleUpdateCommand(PAMGatewayActionDiscoverCommandBase):
parser = argparse.ArgumentParser(prog='dr-discover-rule-add')
parser = argparse.ArgumentParser(prog='pam-action-discover-rule-update')
parser.add_argument('--gateway', '-g', required=True, dest='gateway', action='store',
help='Gateway name of UID.')
parser.add_argument('--rule-id', '-i', required=True, dest='rule_id', action='store',
Expand Down
Loading

0 comments on commit f45426f

Please sign in to comment.