Open fortminors opened 1 year ago
Thanks for reporting @fortminors! I'll investigate.
Yes, you're right!
For --traceback
option, it should be put in the beginning: gto --tb show <artifact_name>#develop -r <remote_repo_url>
Do you mind contributing a fix? This should be adding a few lines, just like you described. The CI/CD will check your PR for issues - if something won't work, I'll help figuring it out.
It also worth adding a simple test just like this one https://github.com/iterative/gto/blob/main/tests/test_cli.py#L139
Hello! I am getting this error when I try to get the last version of the artifact at the non existent stage.
Let's say I have the following registry:
$
gto show
:I am doing the following: $
gto show <artifact_name>#develop -r <remote_repo_url> --version
And I get the following output:
I believe the command should output empty string in this case, as
develop
stage does not exist yet.gto show <artifact_name>#develop -r <remote_repo_url> --json
gives[]
, so I guess it could be checked for emptiness?$
gto doctor
:PS: Passing
--traceback
saysNo such option: --traceback
for some reason