0.1.3 • Published 1 year ago
ar-web3-versions v0.1.3
@versioning-contract/cli
A Smart contract aimed at keeping track of deployed version for a decentralized web3 app.
This is the CLI that allows to:
- Create a new contract with a set of Public Keys allowed to make modifications to it
- Add / Remove Deployment information
API
npx @versioning-contract/cli --help
Usage: contract-version-deploy [options] [command]
CLI to deploy a smart contract that tracks an installable version
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
new [options] Deploy a new Versioning Contract - it will return the contract TransactionID that you need to save to re-use
newFromTx [options] Deploy a new Contract from an existing transaction Id
deploy [options] Make a new deployment
list [options] list all
check [options] check if transaction exists
deploySource [options] deploy The contract source to a new TxId
latest [options] Look at the latest version
state [options] Look at the global state of the contract
GetVersionUrl [options] Get Download Url for the specified version
help [command] display help for command