Skip to content

Add the option to not print the filename #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update README.md
  • Loading branch information
tomzx committed Apr 4, 2025
commit c50ecdff0b8bd4f6a754be80b8cc485f88f6f326
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ This will output the contents of every file, with each file preceded by its rela
...
```

- `--filename/--no-filename`: Control whether to show or hide filenames in the output (shown by default).

```bash
# Hide filenames in the output
files-to-prompt path/to/directory --no-filename

# Explicitly show filenames (default behavior)
files-to-prompt path/to/directory --filename
```

- `-0/--null`: Use NUL character as separator when reading paths from stdin. Useful when filenames may contain spaces.

```bash
Expand Down