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

Contract init: add flag removal message

Open ifropc opened this issue 1 year ago • 0 comments

What

We plan to remove some flags from contract init as part of breaking changes (see https://github.com/stellar/stellar-cli/issues/1586). This PR does just that. Removed argument are hidden from help: out

And when trying to use them there's an error that explains what are the alternatives.

error: invalid value 'test' for '--with-example <WITH_EXAMPLE>': This argument has been removed and will be not be recognized by the future versions of CLI: Adding examples via cli is no longer supported. You can still clone examples from the repo https://github.com/stellar/soroban-examples

For more information, try '--help'.

Why

See above

Known limitations

N/A

ifropc avatar Sep 25 '24 22:09 ifropc