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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file diarycli-0.2.0.tar.gz
.
File metadata
- Download URL: diarycli-0.2.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f16e56c934a7db7a215f5758f09f333e82088e61d4c9681bb1b103b59d708fd |
|
MD5 | e6da12f6ff4334f65b86d29c1510dc3b |
|
BLAKE2b-256 | 162ef9b19b840cf5e740fbae590047ee6f1bf180dbe80717ad2bcbafdc2cb647 |
File details
Details for the file diarycli-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: diarycli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 561d3ac5cf878b44e97bdfd33d467acac2195ee506c69668d2daf45a59ffc19f |
|
MD5 | ac814d3bd13e0bfbc1b24ecad2bc3889 |
|
BLAKE2b-256 | 33dcbd14eab96b475949db26f50b89dd4ed566c5ec622d17156e2374e1c36762 |