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

Derive script file extension #14

Open
kytta opened this issue Feb 8, 2023 · 0 comments
Open

Derive script file extension #14

kytta opened this issue Feb 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kytta
Copy link
Owner

kytta commented Feb 8, 2023

Currently, Skyr requires passing the full name of the script to work.

If there is no script with the specified name, but there is a script with the same name and some extension, Skyr should run it. If there are many scripts, Skyr should fail because of ambiguity.

$ ls script
build.py

$ skyr  # or 'skyr build'
# runs build.py...
$ ls script
build.py
build.sh

$ skyr  # or 'skyr build'
ERROR! Ambiguous scripts found:
 - build.py
 - build.sh
@kytta kytta added the enhancement New feature or request label Feb 8, 2023
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

1 participant