departing-employee¶
For adding and removing employees from the departing employees detection list.
departing-employee [OPTIONS] COMMAND [ARGS]...
add¶
Add a user to the departing employees detection list.
departing-employee add [OPTIONS] USERNAME
Options
-
--departure-date
<departure_date>
¶ The date the employee is departing. Format: yyyy-MM-dd.
-
--cloud-alias
<cloud_alias>
¶ If the employee has an email alias other than their Code42 username that they use for cloud services such as Google Drive, OneDrive, or Box, add and monitor the alias.
-
--notes
<notes>
¶ Optional notes about the employee.
-
-d
,
--debug
¶
Turn on debug logging.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
Arguments
-
USERNAME
¶
Required argument
bulk¶
Tools for executing bulk departing employee actions.
departing-employee bulk [OPTIONS] COMMAND [ARGS]...
add¶
Bulk add users to the departing employees detection list using a CSV file with format: username,cloud_alias,departure_date,notes
departing-employee bulk add [OPTIONS] CSV_FILE
Options
-
-d
,
--debug
¶
Turn on debug logging.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
Arguments
-
CSV_FILE
¶
Required argument
generate-template¶
departing-employee bulk generate-template [OPTIONS] [add|remove]
Options
-
-p
,
--path
<path>
¶ Write template file to specific file path/name.
Arguments
-
CMD
¶
Required argument
remove¶
Bulk remove users from the departing employees detection list using a line-separated file of usernames.
departing-employee bulk remove [OPTIONS] FILE
Options
-
-d
,
--debug
¶
Turn on debug logging.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
Arguments
-
FILE
¶
Required argument