2 releases
0.1.1 | May 11, 2024 |
---|---|
0.1.0 | May 4, 2024 |
#2926 in Command line utilities
61 downloads per month
11KB
193 lines
IronShell
IronShell is a customizable and interactive command-line interface (CLI) tool written in Rust. It provides a user-friendly environment for executing commands, navigating directories, and interacting with Git repositories. Features
- Customizable Prompt: IronShell offers a customizable prompt that displays the current directory and Git branch (if available).
- Built-in Commands: Includes built-in commands such as cd, exit, mkdir, del, ls, etc., for common file system operations.
- Pipeline Support: Supports command chaining using the | operator for creating pipelines.
- Git Integration: Displays the current Git branch in the prompt, allowing users to easily work with Git repositories.
Installation
To install IronShell, ensure you have Rust installed on your system. You can install Rust by following the instructions on rustup.rs. Once Rust is installed, you can install IronShell using Cargo, the Rust package manager:
cargo install IronShell
Usage
After installing IronShell, you can start the shell by running:
IronShell
Once the shell is launched, you can type commands directly into the prompt. Here are some examples of common commands:
- Navigate to a directory:
cd path/to/directory
- List files in the current directory:
ls
- Create a new directory:
mkdir new_directory
- Run a custom command:
custom_command arg1 arg2
Contributing
Contributions to IronShell are welcome! If you encounter any issues, have feature requests, or would like to contribute code, please feel free to open an issue or submit a pull request on GitHub.
License
IronShell is licensed under the MIT License. See the LICENSE file for details.
Dependencies
~10–18MB
~301K SLoC