pnote 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -3
- package/dist/index.js +553 -121
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,6 +47,8 @@ pnote notes --archived # Show archived
|
|
|
47
47
|
pnote notes --pinned # Show pinned only
|
|
48
48
|
pnote notes get <id> # Get note details
|
|
49
49
|
pnote notes create "Title" # Create new note
|
|
50
|
+
pnote notes update <id> --title "New Title" # Update title
|
|
51
|
+
pnote notes update <id> --tags a b c # Replace tags
|
|
50
52
|
pnote notes archive <id> # Archive note
|
|
51
53
|
pnote notes pin <id> # Toggle pin
|
|
52
54
|
pnote notes delete <id> # Delete note
|
|
@@ -59,7 +61,8 @@ pnote snippet <note-id> # Show latest snippet
|
|
|
59
61
|
pnote snippet <note-id> --all # Show all versions
|
|
60
62
|
pnote snippet copy <note-id> # Copy to clipboard
|
|
61
63
|
echo "content" | pnote snippet add <note-id> # Add new version
|
|
62
|
-
pnote snippet
|
|
64
|
+
echo "updated" | pnote snippet update <snippet-id> # Update existing
|
|
65
|
+
pnote snippet favorite <snippet-id> # Toggle favorite
|
|
63
66
|
```
|
|
64
67
|
|
|
65
68
|
### Tags
|
|
@@ -70,6 +73,15 @@ pnote tags rename "old" "new" # Rename tag
|
|
|
70
73
|
pnote tags merge "a" "b" --into "c" # Merge tags
|
|
71
74
|
```
|
|
72
75
|
|
|
76
|
+
### Sharing
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
pnote share tags # List shared tags
|
|
80
|
+
pnote share tags <id> # View notes in shared tag
|
|
81
|
+
pnote share notes # List public share links
|
|
82
|
+
pnote share notes --include-revoked # Include revoked links
|
|
83
|
+
```
|
|
84
|
+
|
|
73
85
|
### Search
|
|
74
86
|
|
|
75
87
|
```bash
|
|
@@ -92,9 +104,9 @@ pnote search "query" --limit 50 # Limit results
|
|
|
92
104
|
|
|
93
105
|
| Variable | Description |
|
|
94
106
|
|----------|-------------|
|
|
95
|
-
| `
|
|
107
|
+
| `PNOTE_TOKEN` | PAT token (overrides stored credentials) |
|
|
96
108
|
| `NO_COLOR` | Disable colors |
|
|
97
|
-
| `
|
|
109
|
+
| `PNOTE_API_ENDPOINT` | Custom API endpoint |
|
|
98
110
|
|
|
99
111
|
## Unix Philosophy
|
|
100
112
|
|