Enhancement #857 - Implemented -p flag
I have added -p (--slash-indicator, didn't know how to name it) flag from the windows ls command, which appends / to the end of directories name.
I have used the indicator flag's code to implement it and also added tests. I modified the render function to only work on directories and to not work while the display_indicators flag is also true. I also added the flag to the config file text, and set the default to false.
Let me know if there's anything wrong, or that should be changed.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Alex-1611
Once this PR has been reviewed and has the lgtm label, please assign zwpaper for approval by writing /assign @zwpaper in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment