Crates.io | perm-text |
lib.rs | perm-text |
version | 1.0.4 |
source | src |
created_at | 2021-03-19 06:32:56.184188 |
updated_at | 2021-03-19 20:29:49.532404 |
description | A simple tool for curling straight/dumb quotation marks ("") and apostrophes (') into their curly/smart (“”’) equivalents. |
homepage | https://github.com/SimonGZ/perm |
repository | https://github.com/SimonGZ/perm |
max_upload_size | |
id | 370875 |
size | 12,947 |
A simple tool for curling straight/dumb quotation marks ("") and apostrophes (') into their curly/smart (“”’) equivalents.
Perm is a command line utility that accepts either a text file or stdin and converts all of the quotation marks and apostrophes to either their smart/curly form or the dumb/straight form.
Perm is written in Rust and can be installed using cargo.
cargo install perm-text
This utility is meant to be a good command line citizen and accept both files and stdin and also output both files and stdout depending on the options selected.
USAGE:
perm [FLAGS] <input> [output]
FLAGS:
-h, --help Prints help information
-s, --straighten Straighten quotes instead of curling them
-V, --version Prints version information
ARGS:
<input> Input file, pass a dash ("-") to receive stdin
<output> Output file, stdout if not present