Git Product home page Git Product logo

logit's Introduction

Logit - Log a note from your terminal

Some times you just need to write something down. Since I spend most of my day at the command line anyways, this is just a simple means to accomplish that. Usage is as follows:

  • pip install logit
  • Open a terminal and logit:
Usage:
>>> logit "When you come to a fork in the road, take it."
>>> cat ~/.logit/*.log
When you come to a fork in the road, take it.
>>> logit "A nickel ain't worth a dime anymore." -s
When you come to a fork in the road, take it.
A nickel ain't worth a dime anymore
>>> logit -h
usage: logit [-h] [-s] [-f FILE] message
positional arguments:
  message               The message you want to log.
optional arguments:
  -h, --help            show this help message and exit
  -s, --show            Show the log file after writing to it.
  -f FILE, --file FILE  The file to write to.

By default logit will write a daily log file in the format logit-mm-dd-yyyy.log to your home directory. If you wish to write those files elsewhere, you can set the following environment variable:

  • export LOGIT_LOCATION='/Users/cgallemore/Dropbox/logit'

Now, the daily log file will be written to the logit folder in your Dropbox folder.

logit's People

Contributors

cgallemore avatar

Watchers

 avatar  avatar

logit's Issues

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.