safe-notion 0.1.1 → 0.1.2
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/dist/index.js +11 -0
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -666,6 +666,17 @@ function createConfigCommand() {
|
|
|
666
666
|
config.command("path").description("Show the configuration file path").action(() => {
|
|
667
667
|
outputJson({ path: getConfigPath() });
|
|
668
668
|
});
|
|
669
|
+
config.command("show").description("Show the current configuration").action(() => {
|
|
670
|
+
try {
|
|
671
|
+
const configData = loadConfig();
|
|
672
|
+
outputJson({
|
|
673
|
+
path: getConfigPath(),
|
|
674
|
+
config: configData
|
|
675
|
+
});
|
|
676
|
+
} catch (error) {
|
|
677
|
+
handleError(error);
|
|
678
|
+
}
|
|
679
|
+
});
|
|
669
680
|
return config;
|
|
670
681
|
}
|
|
671
682
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "safe-notion",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A safe Notion API wrapper CLI for AI agents with granular permission control",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "shoppingjaws",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"@notionhq/client": "^5.8.0",
|
|
55
55
|
"commander": "^14.0.2",
|
|
56
56
|
"jsonc-parser": "^3.3.1",
|
|
57
|
+
"safe-notion": "^0.1.0",
|
|
57
58
|
"zod": "^4.3.6"
|
|
58
59
|
},
|
|
59
60
|
"engines": {
|