Skip to content

Commit 3ca57d9

Browse files
committed
Add delete_keys to main help
1 parent 0002369 commit 3ca57d9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pacu/main.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def display_pacu_help():
123123
at ~/.aws/credentials) to the current sessions database.
124124
Enter the name of a profile you would like to import or
125125
supply --all to import all the credentials in the file.
126+
delete_keys Delete a set of AWS keys in the current session from the Pacu database
126127
assume_role <role arn> Call AssumeRole on the specified role from the current
127128
credentials, add the resulting temporary keys to the Pacu
128129
key database and start using these new credentials.
@@ -1093,8 +1094,6 @@ def display_command_help(self, command_name: str) -> None:
10931094
print('\n sessions/list_sessions\n List all sessions stored in the Pacu database\n')
10941095
elif command_name == 'swap_session':
10951096
print('\n swap_session\n Swap the active Pacu session for another one stored in the database or a brand new session\n')
1096-
elif command_name == 'delete_keys':
1097-
print('\n delete_keys\n Delete a set of AWS keys in the current session from the Pacu database\n')
10981097
elif command_name == 'delete_session':
10991098
print('\n delete_session\n Delete a session from the Pacu database. Note that this does not delete the output folder for that session\n')
11001099
elif command_name == 'help':
@@ -1126,6 +1125,8 @@ def display_command_help(self, command_name: str) -> None:
11261125
print('\n set_keys\n Add a set of AWS keys to the session and set them as the default\n')
11271126
elif command_name == 'swap_keys':
11281127
print('\n swap_keys\n Change the currently active AWS key to another key that has previously been set for this session\n')
1128+
elif command_name == 'delete_keys':
1129+
print('\n delete_keys\n Delete a set of AWS keys in the current session from the Pacu database\n')
11291130
elif command_name == 'exit' or command_name == 'quit':
11301131
print('\n exit/quit\n Exit Pacu\n')
11311132
elif command_name == 'load_commands_file':

0 commit comments

Comments
 (0)