From fd45b611986fdd36243099e6801b429eef75c2ca Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 19 Apr 2024 14:26:58 +0200 Subject: Improve pnote API --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a8bed45..41007ed 100644 --- a/README.md +++ b/README.md @@ -13,36 +13,37 @@ Installation: Create a new project: ``` -> pnote ~/mynotes +> pnote -d ~/mynotes > # See configuration in ~/mynotes/config.json +> # If -d not specified, ${HOME}/.pnote will be used ``` Open and edit today's note file: ``` -> pnote ~/mynotes -t +> pnote -d ~/mynotes -t ``` ## Features Search for files: ``` -> pnote ~/mynotes search -h +> pnote -d ~/mynotes search -h ``` Tag files: ``` -> pnote ~/mynotes tag -h +> pnote -d ~/mynotes tag -h ``` Manage your project: ``` -> pnote ~/mynotes admin -h +> pnote -d ~/mynotes admin -h ``` Export your notes: ``` -> pnote ~/mynotes search --subpath | pnote ~/mynotes export --json -> pnote ~/mynotes search --subpath | pnote ~/mynotes export --template template.txt +> pnote -d ~/mynotes search --subpath | pnote -d ~/mynotes export --json +> pnote -d ~/mynotes search --subpath | pnote -d ~/mynotes export --template template.txt ``` For more information on *pnote*: -- cgit v1.2.3