| Crates.io | kamiya_config |
| lib.rs | kamiya_config |
| version | 0.1.0 |
| created_at | 2023-09-10 07:47:00.190019+00 |
| updated_at | 2023-09-10 07:47:00.190019+00 |
| description | Library for interaction with Kamiya configuration. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 968702 |
| size | 6,457 |
Kamiya is a no-nonsense note taking app that runs in terminal. It stores all your notes in database so it makes easier to store your notes.
You have some ways to install Kamiya. Here is some of possible:
rustup and install latest stable Rust toolchain.cargo install kamiya and wait until cargo build Kamiya for you.PATH variable.rustup and install latest stable Rust toolchain.cargo build to compile debug executable, or cargo build --release to compile optimized executable. If you have encountered some problems when compiling Kamiya on Windows, try to compile it with WSL./target/[debug, release] directory. You can move them to directory which exists in PATH variable.Kamiya have an easy usage structure.
kamiya <command> [argument, ..]
Some commands dont require arguments.
To make note, use take command and pass content to save.
kamiya take "This content will be saved."
Also, you can provide a name for your note with --name or -n argument.
If not, Kamiya will generate the name for you note depending on configuration.
kamiya take "This content will be saved." -n "My Awesome Note"
You can check for notes which are saved in your database with list command.
kamiya list
You can search for note that you need.
Just use search command and pass the name of note that you need to find.
kamiya search "My Awesome Note"
It's not necessary to specify the full name of the note. It's enough to write part of his name, and Kamiya will find notes with similar characters in the name.
kamiya search Awesome
You can use get command to get the content of note by passing the name of note.
kamiya get "My Awesome Note"
Just use help command to get full list of available commands or --help to get help about specific command.
kamiya help # Get list of available commands.
kamiya take --help # Get help for `take` command.
The first time Kamiya is started, it will create a configuration file in the user's .config directory called kamiya.yml.
It's a YAML file and has the following structure.
options:
name_template: NewNote&i
editor: nano
entries: []
name_template - An example of a title for a new note. Note that the contents of this option must contain &i, otherwise the program will give an error.editor - Which editor will be opened to edit note content.entries - Array of notes that you have saved. Do not edit.If you encounter a problem, feel free to report about it on GitHub or GitLab issues of Kamiya.
We are welcome new contributors to Kamiya! Feel free to fork this reposotiry, make changes that you want to suggest and create merge request.