https://github.com/nthnn/minbox
Minbox is a simple, minimalistic command-line tool written in Rust, inspired by BusyBox. Made to learn Rust programming language.
https://github.com/nthnn/minbox
Last synced: 4 months ago
JSON representation
Minbox is a simple, minimalistic command-line tool written in Rust, inspired by BusyBox. Made to learn Rust programming language.
- Host: GitHub
- URL: https://github.com/nthnn/minbox
- Owner: nthnn
- License: gpl-3.0
- Created: 2024-02-19T11:02:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-19T11:02:59.000Z (over 1 year ago)
- Last Synced: 2025-01-13T07:21:21.899Z (5 months ago)
- Language: Rust
- Size: 29.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# minbox
Minbox is a simple, minimalistic command-line tool written in Rust, inspired by BusyBox. The only reason I'm developing this project is to learn Rust programming.
## Batteries Included
Available commands:
```bash
del [files...] # Delete files and/or folders.
dir # Print the current working directory.
dt [format] # Get date and time with optional format.
f # List files and folder with some metadata.
md # Create folder with specified name.
mf # Create file with specified name.
r [--with_lines, -l] [--from , -f ] [--to, -t]
# Read file with optional line numbers and range.
say [string...] # Echo strings in console.
```## Getting Started
To get started with minbox, you need `qrepo`, `rustc`, and `cargo` installed on your system. Then, you can type the following on your command line:
```bash
git clone https://github.com/nthnn/minbox.git --depth 1
cd minbox
qrepo run build
```This will build the minbox from source files. If you want to install it to your system binary path, type the following:
```bash
qrepo run install
```## License
Ladivic is distributed under the [GNU General Public License v3.0](LICENSE). For further details, refer to the LICENSE file.