kibela-api-client 0.1.6 → 0.1.8
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 +18 -0
- package/package.json +4 -4
package/README.md
CHANGED
@@ -97,9 +97,18 @@ echo "KIBELA_API_KEY=your-api-token" >> .env
|
|
97
97
|
# List recent notes
|
98
98
|
kibela notes list
|
99
99
|
|
100
|
+
# List notes in a specific group
|
101
|
+
kibela notes list --group GROUP_ID
|
102
|
+
|
103
|
+
# List notes in a specific folder within a group
|
104
|
+
kibela notes list --group GROUP_ID --folder "specs"
|
105
|
+
|
100
106
|
# Search notes
|
101
107
|
kibela notes list --search "keyword" --limit 20
|
102
108
|
|
109
|
+
# List all folders in a group
|
110
|
+
kibela notes folders --group GROUP_ID
|
111
|
+
|
103
112
|
# Create a new note
|
104
113
|
kibela notes create --title "Title" --content "Content" --groups GROUP_ID
|
105
114
|
|
@@ -112,9 +121,18 @@ kibela notes create --markdown note.md --groups GROUP_ID --folder "specs"
|
|
112
121
|
# Get a specific note
|
113
122
|
kibela notes get <note-id>
|
114
123
|
|
124
|
+
# Save note content to file
|
125
|
+
kibela notes get <note-id> --output output.md
|
126
|
+
|
127
|
+
# Show HTML content instead of markdown
|
128
|
+
kibela notes get <note-id> --html
|
129
|
+
|
115
130
|
# Update a note
|
116
131
|
kibela notes update <note-id> --title "New Title" --content "New Content"
|
117
132
|
|
133
|
+
# Update a note from markdown file
|
134
|
+
kibela notes update <note-id> --markdown updated.md
|
135
|
+
|
118
136
|
# Delete a note
|
119
137
|
kibela notes delete <note-id>
|
120
138
|
```
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "kibela-api-client",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.8",
|
4
4
|
"description": "Kibela API client for Node.js with CLI",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -26,11 +26,11 @@
|
|
26
26
|
"license": "MIT",
|
27
27
|
"repository": {
|
28
28
|
"type": "git",
|
29
|
-
"url": "https://github.com/
|
29
|
+
"url": "https://github.com/Se1ya0hara/kibela-api-client.git"
|
30
30
|
},
|
31
|
-
"homepage": "https://github.com/
|
31
|
+
"homepage": "https://github.com/Se1ya0hara/kibela-api-client#readme",
|
32
32
|
"bugs": {
|
33
|
-
"url": "https://github.com/
|
33
|
+
"url": "https://github.com/Se1ya0hara/kibela-api-client/issues"
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
36
|
"chalk": "^4.1.2",
|