Closed codespool closed 7 months ago
Why not just use redirecting output swanky check > result.txt
or use copy&paste?
I don't see any value of saving option.
If you output just plain text, that's an ok option, but if we add some formatting (f.ex. a table or some colours), then a redirect would have unnecessary formatting characters and --file option or similar would be used to print plain text to a file.
Overview (What and Why)
swanky check
's output should simply list all the dependencies' versions, and list the eventual missing ones. It should also include the OS and architecture info.The output should also be optionally stored in a file, so it can be shared for debugging purposes
We should also maintain a remote compatibility list of
cargo-contract version
->min ink! version
that should be fetched and used when checking the local env, and warn the user to update the ink! version accordinglyHow
init
andcheck
usecargo-contract
and contract's ink! versions against the table and warn user to update if neededDefinition of Done
Open Issues and Blockers