diff --git a/README.md b/README.md index 9320b6c..ed39f5e 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,13 @@ Terrain is **not**: # Table of contents - -- [Setup](#setup) -- [Getting Started](#getting-started) -- [Migrating CosmWasm Contracts on Terra](#migrating-cosmwasm-contracts-on-terra) -- [Use Terrain Main Branch Locally](#use-terrain-main-branch-locally) -- [Terrain Commands](#terrain-commands) - +* [Terrain](#terrain) +* [Table of contents](#table-of-contents) +* [Setup](#setup) +* [Getting Started](#getting-started) +* [Migrating CosmWasm Contracts on Terra](#migrating-cosmwasm-contracts-on-terra) +* [Use Terrain Main Branch Locally](#use-terrain-main-branch-locally) +* [Terrain Commands](#terrain-commands) # Setup @@ -427,7 +427,6 @@ npm unlink terrain # Terrain Commands - * [`terrain code:new NAME`](#terrain-codenew-name) * [`terrain code:store CONTRACT`](#terrain-codestore-contract) * [`terrain console`](#terrain-console) @@ -459,7 +458,7 @@ DESCRIPTION Generate new contract. ``` -_View code: [src/commands/code/new.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/code/new.ts)_ +_See code: [src/commands/code/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/code/new.ts)_ ## `terrain code:store CONTRACT` @@ -483,7 +482,7 @@ DESCRIPTION Store code on chain. ``` -_View code: [src/commands/code/store.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/code/store.ts)_ +_See code: [src/commands/code/store.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/code/store.ts)_ ## `terrain console` @@ -504,7 +503,7 @@ DESCRIPTION contracts. ``` -_View code: [src/commands/console.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/console.ts)_ +_See code: [src/commands/console.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/console.ts)_ ## `terrain contract:instantiate CONTRACT` @@ -529,7 +528,7 @@ DESCRIPTION Instantiate the contract. ``` -_View code: [src/commands/contract/instantiate.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/contract/instantiate.ts)_ +_See code: [src/commands/contract/instantiate.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/contract/instantiate.ts)_ ## `terrain contract:migrate [CONTRACT]` @@ -538,9 +537,11 @@ Migrate the contract. ``` USAGE $ terrain contract:migrate [CONTRACT] --signer [--no-rebuild] [--network ] [--config-path ] - [--refs-path ] [--keys-path ] [--instance-id ] [--code-id ] + [--refs-path ] [--keys-path ] [--instance-id ] [--code-id ] [--arm64] FLAGS + --arm64 use rust-optimizer-arm64 for optimization. Not recommended for production, but it will optimize + quicker on arm64 hardware during development. --code-id= target code id for migration --config-path= [default: ./config.terrain.json] --instance-id= [default: default] @@ -554,7 +555,7 @@ DESCRIPTION Migrate the contract. ``` -_View code: [src/commands/contract/migrate.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/contract/migrate.ts)_ +_See code: [src/commands/contract/migrate.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/contract/migrate.ts)_ ## `terrain contract:updateAdmin CONTRACT ADMIN` @@ -577,7 +578,7 @@ DESCRIPTION Update the admin of a contract. ``` -_View code: [src/commands/contract/updateAdmin.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/contract/updateAdmin.ts)_ +_See code: [src/commands/contract/updateAdmin.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/contract/updateAdmin.ts)_ ## `terrain deploy CONTRACT` @@ -607,11 +608,11 @@ DESCRIPTION Build wasm bytecode, store code on chain and instantiate. ``` -_View code: [src/commands/deploy.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/deploy.ts)_ +_See code: [src/commands/deploy.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/deploy.ts)_ ## `terrain help [COMMAND]` -Display help for terrain. +display help for terrain ``` USAGE @@ -624,10 +625,10 @@ FLAGS --all see all commands in CLI DESCRIPTION - Display help for terrain. + display help for terrain ``` -_View code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.18/src/commands/help.ts)_ +_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.18/src/commands/help.ts)_ ## `terrain new NAME` @@ -657,7 +658,7 @@ EXAMPLES $ terrain new --framework next awesome-dapp --path path/to/dapp ``` -_View code: [src/commands/new.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/new.ts)_ +_See code: [src/commands/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/new.ts)_ ## `terrain sync-refs [FILE]` @@ -675,25 +676,25 @@ DESCRIPTION Sync configuration with frontend app. ``` -_View code: [src/commands/sync-refs.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/sync-refs.ts)_ +_See code: [src/commands/sync-refs.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/sync-refs.ts)_ ## `terrain task:new [TASK]` -Create new task. +create new task ``` USAGE $ terrain task:new [TASK] DESCRIPTION - Create new task. + create new task ``` -_View code: [src/commands/task/new.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/task/new.ts)_ +_See code: [src/commands/task/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/task/new.ts)_ ## `terrain task:run [TASK]` -Run predefined task. +run predefined task ``` USAGE @@ -707,10 +708,10 @@ FLAGS --refs-path= [default: refs.terrain.json] DESCRIPTION - Run predefined task. + run predefined task ``` -_View code: [src/commands/task/run.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/task/run.ts)_ +_See code: [src/commands/task/run.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/task/run.ts)_ ## `terrain test CONTRACT-NAME` @@ -732,7 +733,7 @@ EXAMPLES $ terrain test counter --no-fail-fast ``` -_View code: [src/commands/test.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/test.ts)_ +_See code: [src/commands/test.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/test.ts)_ ## `terrain wallet:new` @@ -750,6 +751,5 @@ DESCRIPTION Generate a new wallet. ``` -_View code: [src/commands/wallet/new.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/wallet/new.ts)_ - +_See code: [src/commands/wallet/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/wallet/new.ts)_ diff --git a/package-lock.json b/package-lock.json index 98f88c1..3d936ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@terra-money/terrain", - "version": "0.2.0", + "version": "0.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@terra-money/terrain", - "version": "0.2.0", + "version": "0.3.0", "license": "MIT", "dependencies": { "@oclif/command": "^1.8.0", @@ -20092,4 +20092,4 @@ "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==" } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 6fbdda0..04fad86 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@terra-money/terrain", "description": "Terra development environment", - "version": "0.2.0", + "version": "0.3.0", "__comment": "^ update template package.json to the same version when publish", "author": "Supanat Potiwarakorn @iboss-ptk", "bugs": "https://github.com/terra-money/terrain/issues",