Skip to content

Conversation

@kachick
Copy link
Contributor

@kachick kachick commented Apr 7, 2025

This is a proposal to add support for specifying the file path via CLI.

In my use case, the target file is often located in the current directory or within the Nix store path, which can result in significantly longer paths. Additionally, locating the file from $HOME using the GUI can sometimes feel inconvenient.

To make this workflow smoother, I added an option to specify the file path directly via CLI.
I have tested this change with both absolute and relative paths, and it works as expected.

- Enabled passing a file path via CLI arguments.
- Automatically set the default filter (PSF or MIF)
  based on the file extension.
  Intentionally ignored unsupported extensions like psfu,
  consistent with current behaviors.
@ideras
Copy link
Owner

ideras commented Apr 7, 2025

Awesome! I reviewed the changes and everything looks fine to me. Thanks!

@ideras ideras closed this Apr 7, 2025
@ideras ideras reopened this Apr 7, 2025
@ideras ideras merged commit 1942494 into ideras:master Apr 7, 2025
2 checks passed
@kachick
Copy link
Contributor Author

kachick commented Apr 7, 2025

Blazing fast ⚡ feedback! Thank you! 🙏

@kachick kachick deleted the feat-cli-take-filepath branch April 7, 2025 17:32
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