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 APIs for alternate CLIs to replicate interactive environment #319

Open
Tracked by #318
osandov opened this issue Jul 3, 2023 · 0 comments
Open
Tracked by #318

Add APIs for alternate CLIs to replicate interactive environment #319

osandov opened this issue Jul 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@osandov
Copy link
Owner

osandov commented Jul 3, 2023

For IPython (#318) and ptpython (#309), it'd be nice if drgn provided APIs to set up the environment in the same way that the standard CLI's interactive mode does. We can factor stuff out of drgn.cli.run_interactive() and add it to drgn.cli. The main thing that comes to mind is the default imports, but there may be others.

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