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

Frontend: cli: select items to extract, with or without body #922

Open
W95Psp opened this issue Sep 30, 2024 · 0 comments
Open

Frontend: cli: select items to extract, with or without body #922

W95Psp opened this issue Sep 30, 2024 · 0 comments
Labels
enhancement New feature or request frontend Issue in the Rust to JSON translation

Comments

@W95Psp
Copy link
Collaborator

W95Psp commented Sep 30, 2024

We want a CLI flag that takes a list (or a path to a file containing a list) of items (a list of DefIds) to extract, and whether a body should be extracted.

#714 implemented something similar, but in the engine. We need this but in the frontend.

The engine has interface-only items since #612, so patching import_thir to work on bodies of type Option<Thir> instead of Thir should be fairly simple.

@W95Psp W95Psp added frontend Issue in the Rust to JSON translation enhancement New feature or request labels Sep 30, 2024
@W95Psp W95Psp changed the title Implement filter in the frontend Frontend: cli: allow to select which items will be exported and how Oct 2, 2024
@W95Psp W95Psp changed the title Frontend: cli: allow to select which items will be exported and how Frontend: cli: allow to select which items to export Oct 2, 2024
@W95Psp W95Psp changed the title Frontend: cli: allow to select which items to export Frontend: cli: select items to extract, with or without body Oct 2, 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 frontend Issue in the Rust to JSON translation
Projects
None yet
Development

No branches or pull requests

1 participant