Crates.io | notes |
lib.rs | notes |
version | 0.2.108 |
source | src |
created_at | 2019-12-07 20:43:16.098512 |
updated_at | 2020-09-01 20:41:05.445434 |
description | A simple tool for taking notes. Work in progress. See: https://gitlab.com/remipassmoilesel/notes |
homepage | |
repository | https://gitlab.com/remipassmoilesel/notes.git |
max_upload_size | |
id | 187156 |
size | 235,830 |
A simple tool for taking notes. notes
helps you to keep your notes in a clean directory structure, with Git as versioning.
Work in progress. Only tested on Arch Linux.
Prerequisites:
Main repository is hosted on Gitlab: https://gitlab.com/remipassmoilesel/notes.git
$ notes help
Notes 🚀 🚀 🚀
███╗ ██╗ ██████╗ ████████╗███████╗███████╗
████╗ ██║██╔═══██╗╚══██╔══╝██╔════╝██╔════╝
██╔██╗ ██║██║ ██║ ██║ █████╗ ███████╗
██║╚██╗██║██║ ██║ ██║ ██╔══╝ ╚════██║
██║ ╚████║╚██████╔╝ ██║ ███████╗███████║
╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚══════╝╚══════╝
Clean all the brains !
Usage:
notes new <title> Create a new note.
notes n <title> -> All commands have a short alias
notes search <needle> Search for a note. You can use regex !
notes s <needle>
notes edit <id> Edit specified note
notes e <id>
notes delete <id> Delete specified note
notes d <id>
notes list List all notes
notes l
notes push Push notes repository (Git based)
notes p
notes pull Pull notes repository (Git based)
notes ll
notes help Show this help
notes h
Options:
-h --help Show this screen.
--version Show version.
Examples:
$ notes new my-awesome-idea
$ notes list
$ notes edit 123
$ notes delete 123
With shortcuts:
$ notes n my-awesome-idea
$ notes e 123
$ notes d 123
See https://gitlab.com/remipassmoilesel/notes
Install Rust nightly and tools:
$ rustup install nightly
$ rustup default nightly
$ cargo install cargo-tarpaulin
Build:
$ cargo build --release
Unit testing:
$ cargo test --lib
Integration tests need setup:
$ ./_test.sh