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

pytao --help fails as no lattice/init file is specified #101

Open
ken-lauer opened this issue Oct 1, 2024 · 0 comments
Open

pytao --help fails as no lattice/init file is specified #101

ken-lauer opened this issue Oct 1, 2024 · 0 comments

Comments

@ken-lauer
Copy link
Collaborator

A special case for the CLI entrypoint is --help, which should show the same information as tao --help.

With #93, we now require a lattice or init file in order to initialize a pytao.Tao object, just as tao itself would require.
Because of that, pytao --help fails:

$ pytao --help
pytao.tao_ctypes.util.TaoInitializationError: Tao will not be able to initialize with the following settings:

init='--help'

This should be special-cased in the CLI to print out the help text and exit.

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

No branches or pull requests

1 participant