-
Notifications
You must be signed in to change notification settings - Fork 13
Preparatory refactoring of ExecutionContext #132
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
Comments
This was referenced Sep 12, 2024
matthewmturner
pushed a commit
that referenced
this issue
Sep 12, 2024
…#131) Part of #132 This PR extracts the ExecutionContext into its own module, as a first step towards adding additional features (e.g. other table formats) Having it as its own module will allow us to test it more easily and keeps the boundaries of the software clearer. Changes: 1. Move ExecutionContext to its own module 2. Make fields not `pub` 3. Encapsulate the CLI code into its own module
matthewmturner
pushed a commit
that referenced
this issue
Sep 12, 2024
Second part of #132 Follow on to #131 The rationale here is to split out the logic that handles display (e.g. `println!` and `Query` from the actual execution, again so that we can update / test the underying `ExecutionContext` without having the UI affected This PR moves the "display" releated logic out of the ExecutionContext and into the app / CLI modules respectively.
matthewmturner
pushed a commit
that referenced
this issue
Sep 13, 2024
part of #132 We are moving `dft` so there is an engine and 2 uis (the terminal tui and the cli) Let's make the code structure match this functional structure: 1. Rename `ui` to `tui` to make it clear it is the terminal ui 2. Move the CLI related code into its own module (cli) 3. Move the command line parsing structures into `DftArgs` in in main.rs I don't fully understand the split between what logic belongs in `app` and what belongs in `tui` but I figure we can work on that split over time
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This ticket tracks my high level plans to restructure the code a little
ExecutionContext
to its own module and cli code toCliApp
#131#[cfg
to manage feature flags to add optionalOnce I am done with this stuff, I plan to start working on integrating other systems (like maybe hugging face) as a test
The text was updated successfully, but these errors were encountered: