I have a Legacy chaincode where I need to pass Arguments to Init function, To support legacy chaincodes there is
peer chaincode invoke cli command with --isInit parameter, see it here - https://hyperledger-fabric.readthedocs.io/en/release-2.2/commands/peerchaincode.html?highlight=invoke#peer-chaincode-invoke.