#note #editor #git-repository #projects #open-file #create-file #quickly

bin+lib paperslip

Quickly open a note file for your projects

3 unstable releases

0.2.0 Jul 10, 2024
0.1.1 Jul 10, 2024
0.1.0 Jul 10, 2024

#15 in #note

MIT license

7KB
122 lines

paperslip

Quickly open a note file for your projects.

How it works

Paperslip first figures out the the path to the project you are currently in. If you are currently in a subfolder of a git repository, it automatically figures out the root path of your project. Otherwise it just takes the current working directory.

Then it creates a file in paperslip's data home directory (on linux usually ~/.local/share/paperslip, for example) for that project and opens it using the users preferred editor (First $EDITOR, if that is not set xdg-open).

Usage

$ paperslip --help
Quickly open a note file for your projects.

Usage: paperslip [OPTIONS]

Options:
  -c, --force-working-directory  always use the working directory, even inside a git repository
  -d, --directory <directory>    manually provide the directory for the project
  -h, --help                     Print help

Dependencies

~5–6.5MB
~107K SLoC