Skip to content
Discussions/App Development/Daml Script command line table viewForum ↗

Daml Script command line table view

App Development10 posts270 views5 likesLast activity Feb 2023
DR
drdo.intellecteuOP
Feb 2023

Hello!

Is there any functionality to display in the command line (e.g. using daml assistant) something similar to table view and/or transaction view from Daml Studio?

Thanks,
Daniel

A_
a_putkov
Feb 2023

I don’t think so.

RE
Remy
Feb 2023

Unfortunately there is no such functionality.

Under the hood, the table/transaction views are actually generated in an ad-hoc way by the mocked ledger we use to run the scripts inside Daml Studio. Script itself nor an actual participant node provides such functionality.

RE
Remy
Feb 2023

On the other side, it wouldn’t be particularly hard for us to make daml test write this out to a terminal as it uses the same mocked ledger as Daml Studio.

@drdo.intellecteu would it be what you are looking for ? Or are you looking for something to print the transactions/state of an actual ledger ?

DR
drdo.intellecteu
Feb 2023

Yeah my particular use case is really to run scripts in the mocked ledger similar to how you they run in Daml Studio.

This would really facilitate using editors other than vscode without missing out on this very useful functionality.

RE
Remy
Feb 2023

This seems reasonable. Could you please create a feature request ?

DR
drdo.intellecteu
Feb 2023

Yes, I’ll write it up.

DR
drdo.intellecteu
Feb 2023
github.com/digital-asset/daml

<!-- I confirm that, if this is a feature request that has security implication

Here it is.

RE
Remy
Feb 2023

Thanks.

DR
drdo.intellecteu
Feb 2023

Thank you!

← Back to Discussions