ctxnote

Crates.ioctxnote
lib.rsctxnote
version0.1.1
sourcesrc
created_at2022-02-08 20:53:50.372673
updated_at2022-02-12 17:29:28.653175
descriptionA command line tool for taking notes
homepagehttps://github.com/sindrekjr/ctxnote
repositoryhttps://github.com/sindrekjr/ctxnote
max_upload_size
id529308
size36,560
Sindre S. Kjær (sindrekjr)

documentation

README

ctxnote

The mind is a mess. Get your thoughts into contexts!

This is a simple command line tool for taking down notes as they come while working on the command line, without the hassle of having to switch out of your flow. And most importantly, easily put notes into appropriate contexts.

⚠️ WIP. Everything that follows is intention and may not be implemented yet.

CLI Structure

|- note [-c <context>]
|   |- add <entry>
|   |- get <pattern>
|   |- init (alias: note ctx init)
|   |- conf
|   |   |- get <key>
|   |   |- set <key> <val>
|   |- ctx
|   |   | <name>
|   |   |- init [-n <name>] [-b]
|   |   |- get <pattern>
|   |   |- rm <name>
|   |   |- mv <name> <newname>

Usage

Options

-c --context

Sets context inline.

note add

note add <entry>

Adds a note entry to the current context.

Examples
$ note add "this is an example entry"
[default] added entry: this is an example entry
$ note add "this is an example entry in another context" -c examples
[examples] added entry: this is an example entry in another context

note get

note get <pattern>

Gets all entries that correspond to the given pattern.

Commit count: 38

cargo fmt