Daml Script command line table view

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

3 Likes

I don’t think so.

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.

1 Like

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 ?

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.

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

1 Like

Yes, I’ll write it up.

Here it is.

Thanks.

Thank you!