Generate ops-api.json config if the file is missing in cli up command: https://github.com/GalaChain/sdk/blob/main/chain-cli/src/commands/network-up/index.ts#L106
Probably the best way is to create and import a relevant function from chaincode root directory (-d), or call <chaincode>/lib/cli.js get-contract-names, as in https://github.com/GalaChain/sdk/blob/main/chain-cli/src/galachain-utils.ts#L147
Generate ops-api.json config if the file is missing in cli
upcommand: https://github.com/GalaChain/sdk/blob/main/chain-cli/src/commands/network-up/index.ts#L106Probably the best way is to create and import a relevant function from chaincode root directory (
-d), or call<chaincode>/lib/cli.js get-contract-names, as in https://github.com/GalaChain/sdk/blob/main/chain-cli/src/galachain-utils.ts#L147