6 releases

0.2.3 Aug 1, 2023
0.2.2 Jun 27, 2023
0.1.1 Oct 20, 2022
0.1.0 Jul 26, 2022

#1413 in Filesystem

Download history 4/week @ 2024-02-25 65/week @ 2024-03-24 54/week @ 2024-03-31

119 downloads per month

MIT license

6KB
77 lines

Spat 𐃸

crates.io docs.rs

This is a command-line utility for shortening UNIX-like paths which also provides the spat::shorten function capable of doing the same.

Install

spat can be built and installed using cargo.

$ cargo install spat

Usage

Run spat --help to view usage information. Basic usage is shown below.

$ spat ~/.local/share/cargo/bin
~/.l/s/c/bin

Library

[dependencies]
spat = { version = 0.2, default-features = false }

lib.rs:

Shortens UNIX-like paths.

Features

  • cli (default)

Builds a binary executable. Disable this feature if you intend to use this crate as a library.

Dependencies

~450KB