This project contains basic file system operations, such as inspection, and removal of a directory.
In the CLI, you can run:
- The list of elements in a directory specified by a
<path>
will be shown. - If the
<path>
is not specified it will display the files in the current directory. - If the directory does not exist, an error message is shown.
In the CLI, you can run:
- A directory specified by a
<path>
will be removed. - If directory doesn’t exist, an error message is shown.
- If the directory is not empty, ask the user for confirmation.
- If the user confirms, remove all file and directories.
- Display the number of subdirectories and files removed.