Skip to content

Commit 5b51d41

Browse files
Update departing_employee.py (#227)
Small help text updates for consistency and style.
1 parent 2073a0a commit 5b51d41

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/code42cli/cmds/departing_employee.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _get_filter_choices():
3838
@click.group(cls=OrderedGroup)
3939
@sdk_options(hidden=True)
4040
def departing_employee(state):
41-
"""For adding and removing employees from the departing employees detection list."""
41+
"""For adding and removing employees from the Departing Employees detection list."""
4242
pass
4343

4444

@@ -47,7 +47,7 @@ def departing_employee(state):
4747
@format_option
4848
@filter_option
4949
def _list(state, format, filter):
50-
"""Lists the employees on the Departing Employee list."""
50+
"""Lists the users on the Departing Employees list."""
5151
employee_generator = _get_departing_employees(state.sdk, filter)
5252
list_employees(
5353
employee_generator, format, {"departureDate": "Departure Date"},
@@ -65,7 +65,7 @@ def _list(state, format, filter):
6565
@notes_option
6666
@sdk_options()
6767
def add(state, username, cloud_alias, departure_date, notes):
68-
"""Add a user to the departing employees detection list."""
68+
"""Add a user to the Departing Employees detection list."""
6969
if departure_date:
7070
departure_date = departure_date.strftime(DATE_FORMAT)
7171
_add_departing_employee(state.sdk, username, cloud_alias, departure_date, notes)
@@ -75,7 +75,7 @@ def add(state, username, cloud_alias, departure_date, notes):
7575
@username_arg
7676
@sdk_options()
7777
def remove(state, username):
78-
"""Remove a user from the departing-employee detection list."""
78+
"""Remove a user from the Departing Employees detection list."""
7979
_remove_departing_employee(state.sdk, username)
8080

8181

@@ -97,7 +97,7 @@ def bulk(state):
9797

9898
@bulk.command(
9999
name="add",
100-
help="Bulk add users to the departing employees detection list using a CSV file with "
100+
help="Bulk add users to the Departing Employees detection list using a CSV file with "
101101
"format: {}.".format(",".join(DEPARTING_EMPLOYEE_CSV_HEADERS)),
102102
)
103103
@read_csv_arg(headers=DEPARTING_EMPLOYEE_CSV_HEADERS)
@@ -126,13 +126,13 @@ def handle_row(username, cloud_alias, departure_date, notes):
126126
run_bulk_process(
127127
handle_row,
128128
csv_rows,
129-
progress_label="Adding users to departing employee detection list:",
129+
progress_label="Adding users to the Departing Employees detection list:",
130130
)
131131

132132

133133
@bulk.command(
134134
name="remove",
135-
help="Bulk remove users from the departing employees detection list using a line-separated "
135+
help="Bulk remove users from the Departing Employees detection list using a line-separated "
136136
"file of usernames.",
137137
)
138138
@read_flat_file_arg
@@ -146,7 +146,7 @@ def handle_row(username):
146146
run_bulk_process(
147147
handle_row,
148148
file_rows,
149-
progress_label="Removing users from departing employee detection list:",
149+
progress_label="Removing users from the Departing Employees detection list:",
150150
)
151151

152152

0 commit comments

Comments
 (0)