Skip to content

Commit 6f56982

Browse files
committed
feat(transaction): add --output-text flag to CLI commands
Add the `--output-text` flag to `transaction txid` and `transaction calculate-min-fee` CLI commands to ensure output is in plain text format.
1 parent dba074a commit 6f56982

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cardano_clusterlib/transaction_group.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def get_txid(self, tx_body_file: itp.FileType = "", tx_file: itp.FileType = "")
6666
raise AssertionError(msg)
6767

6868
return (
69-
self._clusterlib_obj.cli(["transaction", "txid", *cli_args])
69+
self._clusterlib_obj.cli(["transaction", "txid", "--output-text", *cli_args])
7070
.stdout.rstrip()
7171
.decode("ascii")
7272
)
@@ -576,6 +576,7 @@ def estimate_fee(
576576
[
577577
"transaction",
578578
"calculate-min-fee",
579+
"--output-text",
579580
*self._clusterlib_obj.magic_args,
580581
"--protocol-params-file",
581582
str(self._clusterlib_obj.pparams_file),

0 commit comments

Comments
 (0)