@time4peter/foam-cli
Version:
CLI tool for Foam knowledge management - verify wikilinks and more
20 lines • 818 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const commander_1 = require("commander");
const verify_links_1 = require("./commands/verify-links");
const program = new commander_1.Command();
program
.name('foam')
.description('CLI tool for Foam knowledge management')
.version('0.1.0');
program
.command('verify-links')
.description('Verify wikilinks in a Foam workspace')
.option('-p, --path <path>', 'Path to the workspace directory', process.cwd())
.option('-e, --extensions <extensions>', 'File extensions to check (comma-separated)', 'md,mdx')
.option('--json', 'Output results as JSON')
.option('--no-color', 'Disable colored output')
.action(verify_links_1.verifyLinks);
program.parse();
//# sourceMappingURL=index.js.map