Code Monkey home page Code Monkey logo

queuer's Introduction

Queuer

Requires

  • Go

Install

git clone [email protected]:samxsmith/queuer.git
cd queuer
make install

Usage

For first use, you need to init the state file:

touch ~/.queuer_state

Create a new queue

queuer new
> Path to store new queue? (dir must exist): ./my_quotes_queue
> Name your queue: quotes

You can have as many queues as you want. I use it for quotes, a daily question to journal about & a friend to check in on.

Read from the front of the queue e.g. today's quote

queuer current quotes
OR
queuer c quotes

Move to the next in line

queuer next quotes
OR
queuer n quotes

Adding to the queue

The queue file is plain text. Each line is treated as an element in the queue.

To add a new element, just add a line.

You can edit the queue with any text editor or run the following command to use your default:

queuer edit quotes

Future Features

  • Random element from queue

queuer's People

Contributors

54m5m17h avatar

Stargazers

ELTON HENRIQUE avatar

Watchers

Sam x Smith 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.