reduce

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 11 Imported by: 0

README

Command line URL shortener

How to test

$ make 

Installation

$ go install github.com/TanmayPatil105/reduce@latest

Usage

  • -c to copy reduced url to clipboard
  • -b to copy long url from clipboard
  • -v to show version
  • -d to disable ascii art
  • -h to display help message

Example

$ reduce -v
reduced version 0.0.1
$ reduce

                    __                        __     
   _____ ___   ____/ /__  __ _____ ___   ____/ /     
  / ___// _ \ / __  // / / // ___// _ \ / __  /    
 / /   /  __// /_/ // /_/ // /__ /  __// /_/ /     
/_/    \___/ \__ _/ \__ _/ \___/ \___/ \__ _/  


Enter the URL : https://github.com/TanmayPatil105/reduce                  

╭ URL ─────────────────────────────╮
│                                  │
│                                  │
│     https://reduced.to/lcnw9     │
│                                  │
│                                  │
╰──────────────────────────────────╯
$ reduce -b

                    __                        __     
   _____ ___   ____/ /__  __ _____ ___   ____/ /     
  / ___// _ \ / __  // / / // ___// _ \ / __  /    
 / /   /  __// /_/ // /_/ // /__ /  __// /_/ /     
/_/    \___/ \__ _/ \__ _/ \___/ \___/ \__ _/  


╭ URL ─────────────────────────────╮
│                                  │
│                                  │
│     https://reduced.to/8hqeb     │
│                                  │
│                                  │
╰──────────────────────────────────╯

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL