Skip to main content
Markdown-OS provides a simple CLI to launch a local web-based markdown editor. The CLI is built with Typer and supports both single-file and workspace directory modes.

Installation

Install via pip:
Or using uv (recommended):

Command Structure

The CLI follows this pattern:

Available Commands

When invoked without a subcommand, Markdown-OS automatically runs open on the current working directory.

Default Behavior

Running markdown-os with no arguments opens the current directory:
Source reference: cli.py:26-38

Global Options

All commands support standard CLI flags:
  • --help - Show command help and usage information
  • --version - Display installed package version

Entry Point

The CLI is registered in pyproject.toml as:
This creates the markdown-os executable that invokes the run() function from markdown_os.cli.

Quick Start Examples

Next Steps

open command

Launch the editor for files or directories

example command

Generate showcase markdown files