Skip to content

Add --help flag to show usage without opening TUI #1

Description

@kimik3codefree

Running fetchit --help currently shows a help message and exits, but it may not cover all the flags added in v0.4.0 (--chapters, --from, --to, --concurrency, --cookies-from-browser).

What to do:
Update the help text in src/cli.tsx to include all current flags with short descriptions.

Checklist of flags to document:

  • --best — best quality, skip picker
  • --mp3 — audio only
  • --quality <res> — specific resolution (deprecated: use positional)
  • --chapters — embed chapter markers
  • --from <time> — clip start (SS, MM:SS, HH:MM:SS)
  • --to <time> — clip end
  • --concurrency <n> — parallel downloads
  • --cookies-from-browser <name> — chrome/firefox/edge/brave/safari
  • -o, --output <dir> — output directory
  • --theme <mode> — auto/light/dark
  • --version
  • --help

Relevant files:

  • src/cli.tsx — the HELP template string

Acceptance criteria:

  • node dist/cli.js --help shows all flags with descriptions
  • Exits cleanly, no TUI

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions