outln
v0.1.2
Published
CLI for generating structured outlines from TypeScript, JavaScript, Go, Rust, Java, Kotlin, C#, and Markdown files.
Readme
outln
CLI to print concise file outlines for source files.
You can read about this cli here: https://blog.fooqux.com/blog/outline-oriented-codebase/
Install
npm i -g outlnUsage
outln <file-path> [file-path...]File mode
Generate full outlines for one or more files:
outln src/main.ts
outln src/main.ts src/core/formatter.tsGlob mode
Generate compact one-line summaries per matching file:
outln src
outln "src/**/*.ts"
outln "src/**/*.{ts,tsx,js}"Debug mode
Show source text with ANSI highlighting for extracted outline:
outln --debug src/main.ts
outln --debug srcSupported file types
- TypeScript:
.ts,.tsx,.mts,.cts,.d.ts - JavaScript:
.js,.jsx,.mjs,.cjs - Markdown:
.md - Go:
.go - Rust:
.rs - Java:
.java - Kotlin:
.kt,.kts - C#:
.cs
