We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0d7fcf + adf5b8d commit d774693Copy full SHA for d774693
1 file changed
kcidev/subcommands/checkout.py
@@ -147,6 +147,16 @@ def checkout(
147
if resp and "message" in resp:
148
click.secho(resp["message"], fg="green")
149
150
+ if resp and "node" in resp:
151
+ node = resp.get("node")
152
+ treeid = node.get("treeid")
153
+ checkout_nodeid = node.get("id")
154
+
155
+ if treeid:
156
+ click.secho(f"treeid: {treeid}", fg="green")
157
+ if checkout_nodeid:
158
+ click.secho(f"checkout_nodeid: {checkout_nodeid}", fg="green")
159
160
if watch and isinstance(resp, dict):
161
node = resp.get("node")
162
treeid = node.get("treeid")
0 commit comments