A commandline note organization tool.
Project description
Bronotes
Basically a wrapper to access notes in a directory on your system anywhere from the commandline. Still in development but the basic functionality is there.
Functionality so far:
- Create a note directory on your system on first start
- Add new notes
- Remove notes
- Move notes and directories around
- Edit notes with your $EDITOR
- List notes dir in a tree
- Generate autocompletions for zsh
- Sync with git
- Show and edit search for a note if no path to an existing file is given
Todo
- Create a git subcommand that basically just wraps the git cmd utility for more user control.
- A lot of new tests need to be done, big chances ugly non-caught errors are present.
- Especially git-related
Installation
$ pip install bronotes
On first command a folder to be used is asked.
Completions
For now there's no built-in completions. ZSH completions can be generated so you can place them where needed:
$ bnote completions | tee ~/.oh-my-zsh/completions/_BRONOTES
Usage
$ bnote -h
usage: bnote [-h] action ...
positional arguments:
action Bronote actions.
add Add a note or directory.
rm Delete a note or directory.
list Show the notes structure as a tree.
edit Edit a note.
mv Move a note or directory.
set Set config options.
completions
Generate zsh autocompletions.
show Show the contents of a note.
sync Sync the notes dir with git.
optional arguments:
-h, --help show this help message and exit
Subcommands have their own help pages. When using the edit or show subcommand, it falls back on the -s option if the path to your note is not valid.
Git
You can use the sync command to keep a repo in sync with git. Using basic pull/push on master. If you want to have more control simply don't use this. If the repo isn't a git repo yet you will be asked to initialize an empty one and set up remotes. When quit halfway through this process it's probably better to either start over or just fix it manually.
Autosyncing is possible, but will do so after every edit or add action. So figure out if you want that yourself.
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 bronotes-1.4.2.tar.gz
.
File metadata
- Download URL: bronotes-1.4.2.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b58268d212a5c9a07b3406b7b7ed85c6f1acd6d3e618560cf80a5f5b8535ff7b |
|
MD5 | 890ec916aad25ebbe8fea1b29ecfae68 |
|
BLAKE2b-256 | 4a41d0499826dafc04738f732d2bc1ffa158589713cba29b9c644a59fbcc01e2 |
File details
Details for the file bronotes-1.4.2-py3-none-any.whl
.
File metadata
- Download URL: bronotes-1.4.2-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ccfef7227d4a30f7a599c886cfc7708c2ec80280ead6d36d57a970dde7d754 |
|
MD5 | 922266f11dcac049b9a2db68842b11b8 |
|
BLAKE2b-256 | f267f5b9c0d64e32a7e4cf88fbe3c1c0ccc46b50619113d1c7ad0579af8eacdb |