Skip to content

Commit

Permalink
fix CLI help (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
aguschin authored Sep 21, 2022
1 parent 61bf0ea commit 0ee826d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gto/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,16 +565,16 @@ def assign(
Examples:
Assign "nn" to "prod" at specific ref:
$ gto assign nn prod abcd123
$ gto assign nn abcd123 --stage prod
Assign specific version:
$ gto assign nn prod --version v1.0.0
$ gto assign nn --version v1.0.0 --stage prod
Assign at specific ref and name version explicitly:
$ gto assign nn prod abcd123 --version v1.0.0
$ gto assign nn abcd123 --version v1.0.0 --stage prod
Assign without increment
$ gto assign nn prod HEAD --simple
Assign without increment:
$ gto assign nn HEAD --stage prod --simple
"""
if ref is not None:
name_version = version
Expand Down

0 comments on commit 0ee826d

Please sign in to comment.