b64-cli 0.1.2

A simple and fast command-line tool for encoding and decoding base64 strings
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 8.97 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.15 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • corsantic

b64-cli

A simple and fast command-line tool for encoding and decoding base64 strings.

Installation

Install from crates.io:

cargo install b64-cli

Or install from source:

git clone https://github.com/corsantic/b64-cli
cd b64-cli
cargo install --path .

Usage

The basic syntax is:

b64 <command> <input>

Commands

  • encode or e - Encode a string to base64
  • decode or d - Decode a base64 string

Examples

Encoding:

b64 encode hello
# Output: aGVsbG8=

b64 e hello
# Output: aGVsbG8=

Decoding:

b64 decode aGVsbG8=
# Output: hello

b64 d aGVsbG8=
# Output: hello

Building

cargo build --release

Testing

cargo test

License

MIT