@drewpackages/cli

0.6.2 • Public • Published

Drew CLI

Example

Installation

npm i -g @drewpackages/cli

Run example

Deployment dry run (remove --dryRun for actual deployment and docker containers setup)

# EVM
drew deploy DrewPackages/evm-faucet  --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dryRun
# ton
drew deploy-ton DrewPackages/tonfaucet  --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dryRun

Drew will download formula from git, validate it and print its steps

Used apis:
        wallet/v1/sign
        hardhat/v1/script

Dump in halfway

# ton
drew deploy-ton DrewPackages/tonfaucet  --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dumpAfter 1

Resume from dump

# ton
drew deploy-ton -f

Contributing

nvm use
pnpm i
# EVM
pnpm cli deploy DrewPackages/evm-faucet  --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dryRun
# Ton
pnpm cli deploy-ton DrewPackages/tonfaucet  --params "{\"name\": \"Test Token\", \"symbol\": \"TT\", \"totalSupply\": 100000000000000 }" --dryRun

Readme

Keywords

none

Package Sidebar

Install

npm i @drewpackages/cli

Weekly Downloads

0

Version

0.6.2

License

ISC

Unpacked Size

457 kB

Total Files

4

Last publish

Collaborators

  • slon21