Skip to content

An CLI Application for Bijectiive Shortener based on longening the base of the given number

Notifications You must be signed in to change notification settings

morilog/bijective-shortener-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bijective Shortener CLI

Installation

composer global require morilog/bijective-shortener-cli

Usage

Encode integer number

// With default characters set

$ bshort 200
// output: AF


// With custom characters set

$ bshort 200 --set-chars=abcdefg 
// output: eae 

Decode encoded number

// With default characters set

$ bshort AF --decode
// output: 200

// With custom characters set

$ bshort eae --decode --set-chars=abcdefg
// output: 200

For more information about Bijective shortener functionality, please see Reshadman/Php-Bijective-Shortener

About

An CLI Application for Bijectiive Shortener based on longening the base of the given number

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages