soroban-cli icon indicating copy to clipboard operation
soroban-cli copied to clipboard

Add sim-only deprecation notice

Open ifropc opened this issue 1 year ago • 0 comments

What

Added following notice when running a command with deprecated flag:

⚠️ --sim-only is deprecated and will be removed in the future versions of CLI. The same functionality is offered by `tx simulate` command. To replicate the behaviour, you can run `stellar <command> --build only | stellar tx simulate`

Why

https://github.com/stellar/stellar-cli/issues/1547

As the first step, we should add deprecation notice so people have time to migrate off this flag. In the next major release we can remove it.

Known limitations

Added marco needs to include proper use, see the doc

ifropc avatar Sep 27 '24 21:09 ifropc