#directory #linux #cli

bin+lib rust_mkdir

A tool to create directories

1 unstable release

0.1.0 Jun 27, 2023

#579 in #directory

MIT/Apache

8KB
100 lines

rust logo

Rust_Mkdir

Rust Mkdir is a delightful remake of the venerable "mkdir" command, written in the expressive and robust Rust programming language. It aims to provide a modern, efficient, and user-friendly directory creation tool, inspired by the simplicity and elegance of the original.

Features

  • 📂 Intuitive Syntax: Rusty Mkdir follows a familiar syntax, allowing you to effortlessly create directories by specifying the desired path or paths.

  • 🔁 Recursive Mode: Create directories and any necessary parent directories recursively with a single command.

  • ℹī¸ Verbose Output: Gain insights into the directory creation process through clear and informative messages.

  • ⚠ī¸ Error handling : Provide meaningful error messages and handle exceptional cases gracefully.

  • 🎨 Color-coded output: Enhance readability and visual appeal by using colors to output messages.

  • 🏁 Command-line flags: Support different options and flags to customize the behavior of the mkdir command.

  • 🚀 Performance optimization: Optimize the implementation for efficient execution, even with large directory structures.

##Feature To Be Added

  • 📚ī¸ Documentation: Thoroughly document the code to aid maintainability and future contributions.

Getting Started

To get started with the project, follow these steps:

Clone the repository:

git clone https://github.com/truthixify/rust_mkdir.git

cd rust_mkdir

Build the project using Cargo:

cargo build

Run the ls command:

cargo run -- [directory_path]

Replace directory_path with the path of the directory you want to create.

Explore the available command-line options and flags:

cargo run -- --help

Contributing

Contributions to this project are welcome! If you'd like to contribute, please follow these steps:

  • Fork the repository.
  • Create a new branch for your feature or bug fix.
  • Make the necessary changes and commit them.
  • Push your branch to your forked repository.
  • Submit a pull request to the main repository.

Note Please ensure that your code follows the project's coding style and conventions. Additionally, consider writing tests for any new functionality or modifications.

License

This project is licensed under the MIT License.

Acknowledgements

We would like to express our gratitude to the creators and maintainers of the original "mkdir" command for their timeless contribution to the world of software. Their elegant solution continues to inspire us as we reimagine it in Rust.

Contact

If you have any questions or suggestions regarding this project, please feel free to contact truthixify at truthixify@gmail.com.

Happy coding! 🚀

Dependencies

~78KB