Skip to main content

A CLI program that help creates diary and organize them

Project description

DiaryCLI

$ pip install diarycli

One CLI command to create and organize your diaries in the terminal.

$ diary opens a CLI editor to today's diary (path: $DIARY_DIR/year/month/date.md)

$ diary cat cat the content of today's diary to terminal.

$ diary 2020-01-01 create a diary entry for 2020/01/01 in the appropriate file path.

Use environment argument DIARY_DIR and DIARY_EDITOR to configure where the diary are and what editor to use, by default, it use vim as editor and ~/diary as path for diary.

When installing via pip, if you see following message:

WARNING: The script diary is installed in '/some/path/examples/bin' which is not on PATH
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location

You may want to add this location to PATH, to do that, add the following line to your .rc file:

export PATH=$PATH:/some/path/examples/bin

Demo

demo

Inspiration

Inspiration from bash diary script that I have created and used for years: https://github.com/Aperocky/diaryman/blob/master/diaryman.sh

pip provides an easier way to package and distribute this software.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diarycli-0.2.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

diarycli-0.2.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page