From 9753f28c1f13443e536acdb3ae3522a3705803ed Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Mar 2026 07:51:22 +0000 Subject: [PATCH] Add README.md with project description and usage guide Co-authored-by: lucabol <1370774+lucabol@users.noreply.github.com> Agent-Logs-Url: https://github.com/lucabol/notes/sessions/04c59d90-3624-4e04-a352-16b52654c04f --- README.md | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..aa20c7d --- /dev/null +++ b/README.md @@ -0,0 +1,117 @@ +# notes + +A lightweight CLI tool for managing plain-text markdown notes, written in PowerShell. Notes are stored as `.md` files in a local folder, making them easy to sync, back up, or use with any text editor. + +## Features + +- **CRUD operations** – create, list, show, edit, and remove notes +- **Full-text search** – find notes by content (case-insensitive) +- **Tag support** – tag notes by putting a `#tag` on the first line and filter by tag across all commands +- **Standard Notes import** – migrate from a Standard Notes backup in one command +- **Pager support** – long output is automatically piped through your preferred pager +- **Cross-platform** – runs on Windows, macOS, and Linux via PowerShell 7+ + +## Requirements + +- [PowerShell 7+](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell) (`pwsh`) + +## Installation + +Clone or download the repository, then optionally add `notes.ps1` to a directory on your `PATH` (or create an alias/function in your PowerShell profile). + +```powershell +git clone https://github.com/lucabol/notes.git +cd notes +``` + +## Quick start + +```powershell +# Create a note (opens in $EDITOR) +.\notes.ps1 add "My First Note" + +# List all notes +.\notes.ps1 list + +# Show a note +.\notes.ps1 show "My First Note" + +# Edit a note +.\notes.ps1 edit "My First Note" + +# Delete a note +.\notes.ps1 remove "My First Note" + +# Search across all notes +.\notes.ps1 search "keyword" +``` + +## Commands + +| Command | Description | +|---|---| +| `add