Skip to content

paranoid-git/notes-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note Manager

notes-cli is a simple command-line tool for managing notes in Rust.

Installation

To install notes-cli, clone the repository and build the project:

git clone https://github.com/paranoid-git/notes-cli.git
cd notes-cli
cargo build --release

Usage

To use notes-cli, run the binary and follow the prompts:

./target/release/notes-cli

Here are the available commands:

  • create: Create a new note
  • list: List all notes
  • delete: Delete a note
  • import: Import notes from a JSON file
  • export: Export notes to a JSON file
  • help: Helpful message
  • search: Search for notes via tag

For example, to create a new note with the content "Hello, World!", run:

create important "Hello, World!"

To list all notes, run:

list

To delete a note with the ID 2, run:

delete 2

To import notes from a JSON file, run:

import notes.json

To export notes to a JSON file, run:

export notes.json

To search for notes with the tag "important", run:

search important

About

First rust project

Topics

Resources

Stars

Watchers

Forks

Languages