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

config file support? #1

Open
kulkatt opened this issue Jan 20, 2024 · 3 comments
Open

config file support? #1

kulkatt opened this issue Jan 20, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@kulkatt
Copy link

kulkatt commented Jan 20, 2024

many thanks for making such a powerful tool.
since there's so many switches, an option to use a config file will save the trouble of repetitve inputs

@kulkatt kulkatt changed the title will support config file? config file support? Jan 20, 2024
@Tetrax-10
Copy link
Owner

This is a CLI tool, so there won't be any default config files. Think of it like ffmpeg's CLI. However, I can implement a preset system like this:

preview --use preset.txt

where preset.txt will contain the arguments you want.

@kulkatt
Copy link
Author

kulkatt commented Feb 13, 2024

where preset.txt will contain the arguments you want.

thanks for the replay, a preset system will be great😃👍

here's what I'm thinking:

when executed, looks for a preview.config in the same folder with preview.exe.
the parameters in the preview.config will override the default values built in preview.exe,
those parameters do not appear in preview.config will stay unchanged.
(this will reduce the pain to override the default value every time. and needs almost no extra keystrokes)

then if there is a -uu preset.txt in commandline input, the parameters in preset.txt will replace all former ones.
(presets are great for people who have several fixed presets)

then at last if there's still more switches in commandline input, they will override all former ones.
(this is good for people who's making tempory small changes to presets)
🥺🥺🥺

@Tetrax-10
Copy link
Owner

Will look into that 👍. Thx

@Tetrax-10 Tetrax-10 added the enhancement New feature or request label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants