vaultctl 0.3.0 → 0.3.1
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/commands/search.js +1 -1
- package/dist/commands/tags.js +1 -1
- package/dist/format.d.ts +1 -1
- package/dist/format.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/commands/search.js
CHANGED
|
@@ -23,7 +23,7 @@ export function registerSearchCommand(program) {
|
|
|
23
23
|
console.log(formatOutput([], format));
|
|
24
24
|
process.exit(2);
|
|
25
25
|
}
|
|
26
|
-
const output = results.map(n => formatNoteRow(n
|
|
26
|
+
const output = results.map(n => formatNoteRow(n));
|
|
27
27
|
console.log(formatOutput(output, format));
|
|
28
28
|
}
|
|
29
29
|
catch (err) {
|
package/dist/commands/tags.js
CHANGED
|
@@ -39,7 +39,7 @@ export function registerTagsCommand(program) {
|
|
|
39
39
|
console.log(formatOutput([], format));
|
|
40
40
|
process.exit(2);
|
|
41
41
|
}
|
|
42
|
-
const output = results.map(n => formatNoteRow(n
|
|
42
|
+
const output = results.map(n => formatNoteRow(n));
|
|
43
43
|
console.log(formatOutput(output, format));
|
|
44
44
|
}
|
|
45
45
|
catch (err) {
|
package/dist/format.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ export declare function formatOutput(data: unknown, format: OutputFormat): strin
|
|
|
3
3
|
export declare function formatNoteRow(note: {
|
|
4
4
|
path: string;
|
|
5
5
|
frontmatter: Record<string, unknown>;
|
|
6
|
-
}
|
|
6
|
+
}): Record<string, unknown>;
|
|
7
7
|
//# sourceMappingURL=format.d.ts.map
|
package/dist/format.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ const program = new Command();
|
|
|
10
10
|
program
|
|
11
11
|
.name('vaultctl')
|
|
12
12
|
.description('Structured Obsidian vault operations without MCP servers')
|
|
13
|
-
.version('0.3.
|
|
13
|
+
.version('0.3.1')
|
|
14
14
|
.option('--vault <path>', 'Path to Obsidian vault')
|
|
15
15
|
.option('--format <format>', 'Output format: json or table', 'json');
|
|
16
16
|
registerSearchCommand(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vaultctl",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "CLI for structured Obsidian vault operations — search, tags, health checks, templates — without MCP servers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"prepublishOnly": "npm run build"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@vaultctl/core": "^0.3.
|
|
28
|
+
"@vaultctl/core": "^0.3.1",
|
|
29
29
|
"chalk": "^5.4.0",
|
|
30
30
|
"commander": "^13.0.0"
|
|
31
31
|
}
|