Giter VIP home page Giter VIP logo

spad's Introduction

spad

A simple scratchpad utility for the command line.

Quick start

  1. Do export SPAD_DIR="/path/to/dir" with your desired (empty) scratchpad directory.
  2. Do spad to create and open in $EDITOR a timestamped scratchpad in $SPAD_DIR.
  3. Do spad ls to list the contents of $SPAD_DIR.

--help


  spad - create and manage timestamped scratchpads

USAGE:
  spad [-l] [--dir] [--md]                create new spad
  spad [-l] [--dir] _index_               open spad by index
  spad [-l] [--dir] _action_ [OPTION...]

ACTION:
  ls               list spads
  grep             search spads
  stdin            put stdin into spad (ex. \$ cat a.txt | spad stdin)
  cat _index_      print spad to stdout
  rm _index_...    delete spads by index
  day              open spad for today
  yday             open spad for yesterday
  nday             open spad for tomorrow
  note _notes_...  add a note to today's spad
  --help           print this message

GLOBAL OPTIONS:
  -l               local (equivalent to --dir .)
  --md             create a titled markdown spad
  --dir _path_     provide path to spad directory

ENVVARS:
  SPAD_DIR         provide path to spad directory (overridden by --dir)

spad's People

Contributors

jcfk avatar

Watchers

 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.