filenametool

Crates.iofilenametool
lib.rsfilenametool
version0.2.1
sourcesrc
created_at2022-06-29 05:19:25.104135
updated_at2022-07-08 18:39:48.961938
descriptionManipulates paths. A CLI interface to Rust's std::path module.
homepage
repositoryhttps://github.com/PowerSnail/filenametool
max_upload_size
id615252
size11,672
Power Snail (PowerSnail)

documentation

README

Filename Tool

A CLI program to manipulate paths and file names. In a nutshell, this is a simple wrapper around Rust's std::path, exposing the library with a CLI interface.

Command Arguments Description
filename path Get the filename
is-absolute path Whether the path is an absolute path
parent path Return the parent of the input
stem path Get the filename excluding the extension
with-suffix path, suffix Get the filename with a different suffix

Installation

Filename Tool can be installed via cargo:

cargo install filenametool

Build

Simply clone this repository and run cargo build. There's no external dependencies.

Commit count: 9

cargo fmt