How bobbyiliev/101-linux-commands works
This repository is an open-source Linux-command reference eBook, accompanied by a CLI for browsing command summaries and details. Readers access the online book or download its published formats; CLI users invoke the entry point to list, search, or inspect commands. The content tree and README establish the book’s subject areas and available formats. The sampled CLI code shows command registration and JSON-backed search/show behavior; the build command is currently a placeholder, so no generation flow is attributed to it.
Main entry points: cli.py CLI entry point · global_state.py Verbose state · export PDF EPUB HTML · search.py Search commands
Components 16
Book content
- Command chapters
ebook/en/content - Book themes
ebook/en/assets - Book configuration
ebook/en/ibis.php
Reader access
- Online book
index.html - PDF EPUB HTML
ebook/en/export
Command CLI
- CLI entry point
cli/cli.py - List commands
cli/commands/list.py - Search commands
cli/commands/search.py - Show command
cli/commands/show.py - Greeting command
cli/commands/hello.py - Version command
cli/commands/version.py - Build command
cli/commands/build.py
Command reference data
- Command index
cli/data/commands.json - Verbose state
cli/states/global_state.py
Other components
- Reader
- CLI user
Connections 22
- Reader → Online book: reads online
- Reader → PDF EPUB HTML: downloads
- Command chapters → Online book: book content
- Command chapters → PDF EPUB HTML: published as
- Book configuration → PDF EPUB HTML: configures output
- Book themes → Online book: styles pages
- Book themes → PDF EPUB HTML: themes output
- CLI user → CLI entry point: runs commands
- CLI entry point → List commands: dispatches
- CLI entry point → Search commands: dispatches
- CLI entry point → Show command: dispatches
- CLI entry point → Greeting command: dispatches
- CLI entry point → Version command: dispatches
- CLI entry point → Build command: dispatches
- Search commands → Command index: reads
- Show command → Command index: reads
- Search commands → Verbose state: checks verbosity
- Show command → Verbose state: checks verbosity
- List commands → Verbose state: checks verbosity
- Greeting command → Verbose state: checks verbosity
- Version command → Verbose state: checks verbosity
- Build command → Verbose state: checks verbosity