Skip to content
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

Allow to specify the path of the config file #635

Open
SebouChu opened this issue Jun 14, 2024 · 1 comment
Open

Allow to specify the path of the config file #635

SebouChu opened this issue Jun 14, 2024 · 1 comment
Labels
improvement Not a bug Pagefind CLI The CLI responsible for indexing content

Comments

@SebouChu
Copy link

SebouChu commented Jun 14, 2024

Right now, Pagefind lookups for a config file at the directory that you have run the command in.

Is it possible to add an option to specify the config file path? Something like this?

npx pagefind --config config/pagefind.yaml

I didn't learn Rust so I don't really know how to implement this in a PR 😅

@bglw
Copy link
Contributor

bglw commented Jun 18, 2024

Good call — this is a good idea.

@bglw bglw added improvement Not a bug Pagefind CLI The CLI responsible for indexing content labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Not a bug Pagefind CLI The CLI responsible for indexing content
Projects
None yet
Development

No branches or pull requests

2 participants