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

add option for default in list to take first item whatever it is #718

Open
yosefy opened this issue Nov 19, 2023 · 4 comments
Open

add option for default in list to take first item whatever it is #718

yosefy opened this issue Nov 19, 2023 · 4 comments
Labels

Comments

@yosefy
Copy link

yosefy commented Nov 19, 2023

most of the time i need to add new version to the list and change the default
may be we can add some somehow that default will take first one?

thanks

@bugy
Copy link
Owner

bugy commented Nov 27, 2023

I'm a bit hesitant to add this feature, to be honest, it seems a bit too much fine-tuning and complicates the configuration. May be you could use a script for default value? which will read the json file and take the first value

@bugy bugy added the voting label Nov 27, 2023
@yosefy
Copy link
Author

yosefy commented Nov 27, 2023

ah?
it is possible to use script in any option property?

@bugy
Copy link
Owner

bugy commented Nov 27, 2023

not in any, but it's possible for "default": https://github.com/bugy/script-server/wiki/Script-config#--default

@yosefy
Copy link
Author

yosefy commented Nov 27, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants