diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5251d0f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "cargo" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/README.md b/README.md index f31ad08..ce7ead7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Directory-diSplay (DS) -Simple directory tree display application, created to make it easier to get information about a folder. +A simple directory tree display application was created to make getting information about a folder easier. DS as the package is in the arch repository: [raw.githubusercontent.com](https://raw.githubusercontent.com/EICapitan/at-repository/master/x86_64/) @@ -15,7 +15,7 @@ makepkg -i ### Description -Directory-diSplay (DS) is a simple yet powerful command-line application designed to display the current directory structure. It provides various options to customize the output, such as displaying file sizes, access options, and disabling color for easier readability in different terminal environments. +Directory-diSplay (DS) is a simple yet powerful command-line application that displays the current directory structure. It provides various options to customize the output, such as displaying file sizes, and access options for easier readability in different terminal environments. ### Usage @@ -28,7 +28,7 @@ ds [OPTION] [DIRECTORY] ### Options - `-а, --all` : Display all directory content -- `-f, --full-version` : Disable file name shortening +- `-f, --full-name` : Disable file name shortening - `-s, --size` : Display file sizes - `-A, --access` : Display access options - `--version` : Display current program version @@ -36,8 +36,23 @@ ds [OPTION] [DIRECTORY] ### Example -To display the current directory structure with all details and file sizes: +Just displaying directory tree: ```sh -ds -as +ds ``` +![image](https://github.com/user-attachments/assets/49404764-3adc-478f-b0e4-3e2dd14f1f21) + +Displaying directory tree with file sizes and full names: + +```sh +ds -sf +``` + +or + +```sh +ds --size --full-name +``` +![image](https://github.com/user-attachments/assets/c5418248-031d-465b-bda3-7c7c6f543a4a) + diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..04c27f6 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,12 @@ +# Security Policy + +## Supported Versions + +| Version | Supported | +| ------- | ------------------ | +| 2.x.x | :white_check_mark: | +| < 2.0 | :x: | + +## Reporting a Vulnerability + +To report a bug or vulnerability, create a new Issue in the appropriate tab on the project page, or contact me at