client short link Kutt

Crates.io Build Status Build status License: MIT

work in progress

Command line tool for kutt.it

install

sh cargo install kutt

Usage command line

```sh USAGE: kutt [OPTIONS]

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: -c, --custom-url Set a domain name -d, --delete Set a url -l, --login Set a apikey -p, --password Set a password -t, --target-url Set a url ```

How to use crate

sh cargo add kutt ```rs extern crate dotenv; extern crate kutt;

use dotenv::dotenv; use kutt::Kutt;

fn main() { dotenv().ok(); // read KUTTAPIKEY in .env file/ let slink = Kutt::targeturl("https://addr-example...") .customurl("custom-url") .createshortlink() .unwrap(); println!("{}", slink); } ```