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

Final CLI Improvements #1495

Merged
merged 6 commits into from
Jan 13, 2025
Merged

Conversation

DhanshreeA
Copy link
Member

@DhanshreeA DhanshreeA commented Jan 9, 2025

Closes #1486

The PR makes the following updates:

  1. The --random flag is set by default now in the example command, so the example command now indeed generates random samples unless predefined is requested, and an example file actually exists.
  2. The --as-table flag for the run command has a shorter -t flag now.
  3. catalog command accepts any extension and supports both tab separated files and comma separated files, however when the file extension is not .tsv, it serializes the file as a CSV by default.
  4. The example command logs to the user if it is unable to find an example file for the model and that it is generating random samples.

@DhanshreeA DhanshreeA merged commit c5d1ee0 into master Jan 13, 2025
18 of 20 checks passed
@DhanshreeA DhanshreeA deleted the 1486-bug-cli-commands-improvements branch January 13, 2025 08:03
DhanshreeA added a commit that referenced this pull request Jan 14, 2025
* Default to csv always for writing to catalog file

* Add filter for test models

* Make predefined optional and random sampling the default; also notify the user that predefined cannot be done

* WIP

* Make relevant changes
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

Successfully merging this pull request may close these issues.

🐛 Bug: CLI commands improvements
1 participant