@hbarefoot/engram 1.2.0 → 1.4.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 CHANGED
@@ -1,4 +1,4 @@
1
- # 🧠 Engram
1
+ # <img src="engram-logo.png" alt="Engram" width="32" height="32" style="vertical-align: middle;" /> Engram
2
2
 
3
3
  [![CI](https://github.com/HBarefoot/engram/actions/workflows/ci.yml/badge.svg)](https://github.com/HBarefoot/engram/actions/workflows/ci.yml)
4
4
  [![npm version](https://img.shields.io/npm/v/@hbarefoot/engram)](https://www.npmjs.com/package/@hbarefoot/engram)
package/bin/engram.js CHANGED
@@ -587,14 +587,17 @@ program
587
587
  .option('--dry-run', 'Preview without committing')
588
588
  .option('-n, --namespace <name>', 'Override namespace for imported memories')
589
589
  .option('--config <path>', 'Path to config file')
590
+ .option('-p, --paths <dirs>', 'Additional directories to scan (comma-separated)')
590
591
  .action(async (options) => {
591
592
  try {
592
593
  const { runWizard } = await import('../src/import/wizard.js');
594
+ const paths = options.paths ? options.paths.split(',').map(p => p.trim()).filter(Boolean) : undefined;
593
595
  await runWizard({
594
596
  source: options.source,
595
597
  dryRun: options.dryRun,
596
598
  namespace: options.namespace,
597
- config: options.config
599
+ config: options.config,
600
+ paths
598
601
  });
599
602
  } catch (error) {
600
603
  const f = await loadFormat();