UNPKG

@titan-suite/cli

Version:

The complete smart contract development tool

1 lines 6.05 kB
{"version":"0.2.4","commands":{"compile":{"id":"compile","description":"Compile a Solidity smart contract","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan compile <path/to/Example.sol>","$ titan compile -n SpecificContract <path/to/ManyContracts.sol>","$ titan compile -d <path/to/Example.sol>","$ titan compile -l <path/to/Example.sol>"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"specify which smart contract to compile within the file"},"detailed":{"name":"detailed","type":"boolean","char":"d","description":"display more details about the contract","allowNo":false},"locally":{"name":"locally","type":"boolean","char":"l","description":"compile contract locally","allowNo":false}},"args":[{"name":"file"}]},"console":{"id":"console","description":"Interact with an AION node","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan console","$ titan console -t development"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"network":{"name":"network","type":"option","char":"t","description":"specify the network to connect to"}},"args":[]},"create":{"id":"create","description":"Initialize new template contracts and tests","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan create contract <BoltName>","$ titan create test <BoltName>"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"type"},{"name":"boltName"}]},"deploy":{"id":"deploy","description":"Deploy a Solidity smart contract to an AION node","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan deploy <path/to/Example.sol>","$ titan deploy -n SpecificContract <path/to/ManyContracts.sol>","$ titan deploy -p 5 <path/to/ContractWithParams.sol>","$ titan deploy -k <path/to/ContractWithParams.sol>","$ titan deploy -t development <path/to/ContractWithParams.sol>"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"specify which smart contract to deploy within the file"},"params":{"name":"params","type":"option","char":"p","description":"pass parameters to the smart contract"},"privateKey":{"name":"privateKey","type":"boolean","char":"k","description":"pass parameters to the smart contract","allowNo":false},"network":{"name":"network","type":"option","char":"t","description":"specify the network to deploy the smart contract"}},"args":[{"name":"file"}]},"exec":{"id":"exec","description":"Run a custom helper script","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan exec <path/to/script.js>"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"file"}]},"init":{"id":"init","description":"Create a new Titan environment","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan init","$ titan init <name>"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"newFolder"}]},"lint":{"id":"lint","description":"Find issues and errors in a Solidity contract","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan lint <path/to/Example.sol>"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"file"}]},"migrate":{"id":"migrate","description":"Run migrations to deploy contracts","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan migrate","$ titan migrate <path/to/migrate/migrateExample.js>","$ titan migrate -t development <path/to/migrate/migrateExample.js>"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"privateKey":{"name":"privateKey","type":"boolean","char":"k","description":"pass parameters to the smart contract","allowNo":false},"network":{"name":"network","type":"option","char":"t","description":"specify the network to deploy the smart contract"}},"args":[{"name":"file"}]},"networks":{"id":"networks","description":"List all networks specified in the Titan config file","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan networks"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"blockchain":{"name":"blockchain","type":"option","char":"b","description":"the specified networks for a particular blockchain"}},"args":[]},"test":{"id":"test","description":"Run unit tests that interact Solidity smart contract","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan test <path/to/test/testExample.js>"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"file"}]},"unlock":{"id":"unlock","description":"Unlock an AION account","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan unlock","$ titan unlock -a 0xbeef...","$ titan unlock -a 0xc0de... -p the_password"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"address":{"name":"address","type":"option","char":"a","description":"the address to unlock"},"password":{"name":"password","type":"option","char":"p","description":"the password of the account"}},"args":[]},"unpack":{"id":"unpack","description":"Start a new project with a pre-built dApp","pluginName":"@titan-suite/cli","pluginType":"core","aliases":[],"examples":["$ titan unpack","$ titan unpack <name>"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"pack"}]}}}