
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
CLI tool for mdbase collections — validate, query, CRUD, and execute Obsidian .base files
Command-line tool for working with mdbase collections. Validates, queries, and performs CRUD operations on markdown document collections. Can also execute Obsidian .base files.
Requires Node.js 22+ and the mdbase library.
git clone https://github.com/callumalpass/mdbase.git
git clone https://github.com/callumalpass/mdbase-cli.git
cd mdbase && npm ci && cd ..
cd mdbase-cli && npm ci && npm run build
The CLI is available as mdbase via the bin entry, or run directly with:
node dist/cli.js
mdbase <command> [options]
Global option:
-C, --collection <alias> Run a command against a registered collection alias (from mdbase collections add).| Command | Description |
|---|---|
validate | Validate documents against their type schemas |
query | Query documents with filters and sorting |
read | Read a single document by path or ID |
create | Create a new document |
update | Update an existing document |
delete | Delete a document |
rename | Rename a document |
types | List or inspect registered types |
| Command | Description |
|---|---|
base run | Execute an Obsidian .base file |
| Command | Description |
|---|---|
init | Initialize a new mdbase collection |
lint | Lint documents for common issues |
fmt | Format document frontmatter |
export | Export documents to CSV or JSON |
import | Import documents from CSV or JSON |
graph | Show link graph between documents |
stats | Print collection statistics |
watch | Watch for file changes and re-validate |
diff | Show differences between document versions |
schema | Generate or inspect type schemas |
collections | Manage named collection registry entries |
mdbase-fzf provides an interactive two-step picker powered by fzf:
untype for files without a type).Requirements: fzf and jq on PATH.
mdbase-fzf
Validate all documents in the current directory:
mdbase validate .
Query documents of a given type:
mdbase query "status = published" --types note --sort created --limit 10
Execute an Obsidian .base file:
mdbase base run my-view.base
Export to CSV:
mdbase export . --type note --format csv -o notes.csv
Initialize and register a collection alias:
mdbase init --register work
List markdown files from all registered collections:
mdbase collections files --format paths
| Project | Description |
|---|---|
| mdbase-workouts | Workout tracker with chat interface, built on mdbase |
mdbase-cli implements the mdbase specification.
MIT
FAQs
CLI tool for mdbase collections — validate, query, CRUD, and execute Obsidian .base files
The npm package mdbase-cli receives a total of 146 weekly downloads. As such, mdbase-cli popularity was classified as not popular.
We found that mdbase-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.