Compile Solidity Contract
The command compile-contract can be used to compile a .sol file.
Compile the file
The solc version must be built before running the command.
hanchond playground tx solidity compile ./temp/address.sol -v 0.6.12 -o /tmp
Contract compiled at /tmp