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.
@@ -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, format));
26
+ const output = results.map(n => formatNoteRow(n));
27
27
  console.log(formatOutput(output, format));
28
28
  }
29
29
  catch (err) {
@@ -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, format));
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
- }, format: OutputFormat): Record<string, unknown>;
6
+ }): Record<string, unknown>;
7
7
  //# sourceMappingURL=format.d.ts.map
package/dist/format.js CHANGED
@@ -26,7 +26,7 @@ function formatTableRow(obj) {
26
26
  })
27
27
  .join('\n');
28
28
  }
29
- export function formatNoteRow(note, format) {
29
+ export function formatNoteRow(note) {
30
30
  return {
31
31
  path: note.path,
32
32
  type: note.frontmatter.type ?? '',
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.0')
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.0",
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.0",
28
+ "@vaultctl/core": "^0.3.1",
29
29
  "chalk": "^5.4.0",
30
30
  "commander": "^13.0.0"
31
31
  }