-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* remove card command * remove unused class * add ModelCard class * add new card flag and update catalog function * de-register card function in cmd.py * remove card.py * Refactor '--card' to a flag and add 'model' as a positional argument - Changed the '--card' option to a flag with a default value of 'False'. - Added 'model' as a positional argument to the 'catalog' command and made it optional. - Implemented logic to handle the case where 'card' is provided without a 'model'. - Added error handling to notify user if no metadata is found for the specified model when using the 'card' flag. * Removed dead code and unncessary comments * Fix omission by displaying errors in red * update --card option help text --------- Co-authored-by: Dhanshree Arora <[email protected]>
- Loading branch information
1 parent
1d54d56
commit a5a2f37
Showing
4 changed files
with
38 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ def create_ersilia_cli(): | |
cmd = Command() | ||
|
||
cmd.auth() | ||
cmd.card() | ||
cmd.catalog() | ||
cmd.clear() | ||
cmd.close() | ||
|