-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Make aml_tester
more ergonomic to use
#142
Comments
What are your feelings on clap 4? Would you prefer derive or just update the clap code that's there? My suggestion is to allow files specified by --file or as positionals. --file can have multiple occurrences and be mixed with --path to specify order of parsing. Positionals would be parsed in the order given. --reset would cause namespace to be per table, no --reset would cause all files to be parsed into the same table. |
It's easier to implement mixing of files and directories if they are the same arg name, or if they are just all positionals. What about dropping --files and --path, and just taking both file and path arguments as positionals? --path could be kept for backwards compatibility. |
No issues with updating I think it would be nicer to maintain two modes: one for parsing a directory of files independent of each other (the current setting), and another for parsing a set of tables in order in the same namespace. Can we pass an option (e.g. Also no need generally to keep things backwards compatible with |
I have an implementation of using positionals. You can use
|
At the moment,
aml_tester
works, but is pretty janky to use. Some improvements would be:iasl
is not installedPASS
,COMPILE FAIL
,PARSE FAIL
-f
option?)aml
itself tbh)The text was updated successfully, but these errors were encountered: