reelpath
is a CLI application that prints the absolute path for a given file or directory.
bash
user at host in ~/github.com/nickgerace/reelpath
% reelpath README.md
/home/user/github.com/nickgerace/reelpath/README.md
Could this exist as a shell function? Probably. Did I want a cross-platform method to get the absolute path for a given file or directory? Yes.
There are multiple ways to install reelpath
, but this section contains the recommended methods.
Since
reelpath
does not use any external dependencies, it supports all platforms that Rust supports. Please file an issue if you encounter an error on your platform of choice.
You can use Homebrew to install the tap for reelpath
.
bash
brew install nickgerace/reelpath/reelpath
Alternatively, you can execute:
bash
brew tap nickgerace/reelpath
brew install reelpath
Running brew help
or man brew
can help you use brew
locally.
You can check out Homebrew's documentation as well.
You can install from crates.io by executing the following:
bash
cargo install reelpath
Keeping the package up to date is easy with cargo-update.
CHANGELOG.md
?This project adheres to Semantic Versioning, but does not leverage popular changelog formats, like Keep a Changelog, because of its tiny size and purpose. Using GitHub to compare two tags, commits, etc. should suffice for this project.
Local developer testing suffices for this project due to its tiny size and purpose. Continuous integration would be wasteful, but this is subject to change.
There are no binaries uploaded to GitHub since this application is best distributed via a package manager, such as cargo.
Use one of the README's installation methods to build and install reelpath
.
This repository follows and enforces the Rust programming language's Code of Conduct.