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 helper to cijoe instance #107

Open
safl opened this issue Dec 9, 2024 · 0 comments
Open

Add helper to cijoe instance #107

safl opened this issue Dec 9, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@safl
Copy link
Collaborator

safl commented Dec 9, 2024

In a cijoe script, it is common to rely on various command-line tools because one cannot depend on a wide range of Python versions and packages being available on the target system. To improve user experience, it would be helpful to test ahead of time whether the script would fail due to missing tools. This approach provides better error messages and allows the script to exit early if prerequisites are not met.

To facilitate this, a helper function such as::

cijoe.check_tools(tools: List[str])

should be added. This utility would support a commonly used idiom in cijoe scripting.

@safl safl added the enhancement New feature or request label Dec 9, 2024
@safl safl added this to the v1.0.0 milestone Dec 9, 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

1 participant