Git Product home page Git Product logo

yourls-cli's Introduction

YOURLS-CLI

A modest CLI (Command Line Interface) client for YOURLS. A work very much in progress.

Installation

  • Install required dependencies using Composer
  • The script to run is src/bin/yourls. Symlink to it from a convenient place (eg ln -s /path/to/yourls-cli/src/bin/yourls ~/bin/yourls) or add it to your PATH
  • Run yourls --version to check if everything is OK

There's nothing much for the moment

It's merely a POC for now, pretty much inspired by the awesome wp-cli.

The goal is probably to have something functional for YOURLS 2.0 --no ETA-- with an extensive set of functions to install, update or use YOURLS via the command line.

Don't you think something like the following would be neat :

$ yourls core download --latest
$ yourls core config --url=http://sho.rt --user=joe --password=MyP4ssW0rd --dbname=yourls (...)
$ yourls core install 
$ yourls shorturl add --url=http://longurl.com/ --keyword=omg --title="this is a title"
$ yourls shorturl edit --keyword=omg --new_keyword=wtf
* yourls shorturl delete --keyword=wtf

Stay tuned! ใƒ„

yourls-cli's People

Contributors

ozh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.