Skip to content

Fix argument typo in quickstart: --output-file#309

Merged
ODAncona merged 1 commit intomufeedvh:mainfrom
yulonglin:patch-1
Mar 18, 2026
Merged

Fix argument typo in quickstart: --output-file#309
ODAncona merged 1 commit intomufeedvh:mainfrom
yulonglin:patch-1

Conversation

@yulonglin
Copy link
Copy Markdown
Contributor

Updating the quickstart docs to reflect code2prompt behaviour (installed via Homebrew).

Argument --output fails:

❯ code2prompt path/to/code --output codebase.txt
error: unexpected argument '--output' found

  tip: a similar argument exists: '--output-file'

Usage: code2prompt --output-file <FILE> <PATH_TO_ANALYZE>

For more information, try '--help'.

Argument --output-file works:

❯ code2prompt path/to/code --output-file codebase.txt
[i] Using default configuration
[✓] Codebase Traversal Done!                                                                                                                                        [i] Token count: 433,009, Model info: ChatGPT models, text-embedding-ada-002
[✓] Prompt written to file: codebase.txt

@ODAncona ODAncona merged commit e73c34d into mufeedvh:main Mar 18, 2026
1 check passed
@ODAncona
Copy link
Copy Markdown
Collaborator

Thank you 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants