-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -441,59 +441,6 @@ npm unlink terrain | |
* [`terrain test CONTRACT-NAME`](#terrain-test-contract-name) | ||
* [`terrain wallet:new`](#terrain-walletnew) | ||
<<<<<<< HEAD | ||
## `terrain code:new NAME` | ||
Generate new contract. | ||
``` | ||
USAGE | ||
$ terrain code:new [NAME] [--path <value>] [--version <value>] [--authors <value>] | ||
FLAGS | ||
--authors=<value> [default: Terra Money <[email protected]>] | ||
--path=<value> [default: ./contracts] path to keep the contracts | ||
--version=<value> [default: 0.16] | ||
DESCRIPTION | ||
Generate new contract. | ||
EXAMPLES | ||
$ terrain code:new awesome_contract | ||
$ terrain code:new awesome_contract --path path/to/dapp | ||
$ terrain code:new awesome_contract --path path/to/dapp --authors "ExampleAuthor<[email protected]>" | ||
``` | ||
_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` | ||
Store code on chain. | ||
``` | ||
USAGE | ||
$ terrain code:store [CONTRACT] --signer <value> [--no-rebuild] [--network <value>] [--config-path <value>] | ||
[--refs-path <value>] [--keys-path <value>] [--code-id <value>] | ||
FLAGS | ||
--code-id=<value> | ||
--config-path=<value> [default: ./config.terrain.json] | ||
--keys-path=<value> [default: ./keys.terrain.js] | ||
--network=<value> [default: localterra] | ||
--no-rebuild | ||
--refs-path=<value> [default: ./refs.terrain.json] | ||
--signer=<value> (required) | ||
DESCRIPTION | ||
Store code on chain. | ||
``` | ||
_See code: [src/commands/code/store.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/code/store.ts)_ | ||
======= | ||
>>>>>>> aed8534 (feat: merge 'code' and 'contract' (#72)) | ||
## `terrain console` | ||
Start a repl console that provides context and convinient utilities to interact with the blockchain and your contracts. | ||
|
@@ -513,7 +460,7 @@ DESCRIPTION | |
contracts. | ||
``` | ||
_See code: [src/commands/console.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/console.ts)_ | ||
_See code: [src/commands/console.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/console.ts)_ | ||
## `terrain contract:instantiate CONTRACT` | ||
|
@@ -538,7 +485,7 @@ DESCRIPTION | |
Instantiate the contract. | ||
``` | ||
_See code: [src/commands/contract/instantiate.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/contract/instantiate.ts)_ | ||
_See code: [src/commands/contract/instantiate.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/instantiate.ts)_ | ||
## `terrain contract:migrate [CONTRACT]` | ||
|
@@ -565,7 +512,7 @@ DESCRIPTION | |
Migrate the contract. | ||
``` | ||
_See code: [src/commands/contract/migrate.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/contract/migrate.ts)_ | ||
_See code: [src/commands/contract/migrate.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/migrate.ts)_ | ||
## `terrain contract:new NAME` | ||
|
@@ -591,7 +538,7 @@ EXAMPLES | |
$ terrain code:new awesome_contract --path path/to/dapp --authors "ExampleAuthor<[email protected]>" | ||
``` | ||
_See code: [src/commands/contract/new.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/contract/new.ts)_ | ||
_See code: [src/commands/contract/new.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/new.ts)_ | ||
## `terrain contract:store CONTRACT` | ||
|
@@ -615,7 +562,7 @@ DESCRIPTION | |
Store code on chain. | ||
``` | ||
_See code: [src/commands/contract/store.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/contract/store.ts)_ | ||
_See code: [src/commands/contract/store.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/store.ts)_ | ||
## `terrain contract:updateAdmin CONTRACT ADMIN` | ||
|
@@ -638,7 +585,7 @@ DESCRIPTION | |
Update the admin of a contract. | ||
``` | ||
_See code: [src/commands/contract/updateAdmin.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/contract/updateAdmin.ts)_ | ||
_See code: [src/commands/contract/updateAdmin.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/updateAdmin.ts)_ | ||
## `terrain deploy CONTRACT` | ||
|
@@ -668,7 +615,7 @@ DESCRIPTION | |
Build wasm bytecode, store code on chain and instantiate. | ||
``` | ||
_See code: [src/commands/deploy.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/deploy.ts)_ | ||
_See code: [src/commands/deploy.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/deploy.ts)_ | ||
## `terrain help [COMMAND]` | ||
|
@@ -692,7 +639,7 @@ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.1 | |
## `terrain new NAME` | ||
Create new dapp from a template. | ||
Create new dapp from template. | ||
``` | ||
USAGE | ||
|
@@ -705,24 +652,22 @@ FLAGS | |
better wallet-provider support but less streamlined contract integration. | ||
<options: react|vue|svelte|next|vite|lit> | ||
--path=<value> [default: .] Path to create the workspace | ||
--version=<value> [default: 0.16] | ||
--version=<value> [default: 1.0] | ||
DESCRIPTION | ||
Create new dapp from a template. | ||
Create new dapp from template. | ||
EXAMPLES | ||
$ terrain new awesome-dapp | ||
$ terrain new --framework vue awesome-dapp | ||
$ terrain new awesome-dapp --path path/to/dapp | ||
$ terrain new awesome-dapp --path path/to/dapp --authors "ExampleAuthor<[email protected]>" | ||
$ terrain new awesome-dapp --path path/to/dapp --framework vue --authors "ExampleAuthor<[email protected]>" | ||
``` | ||
_See code: [src/commands/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/new.ts)_ | ||
_See code: [src/commands/new.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/new.ts)_ | ||
## `terrain sync-refs [FILE]` | ||
|
@@ -740,7 +685,7 @@ DESCRIPTION | |
Sync configuration with frontend app. | ||
``` | ||
_See code: [src/commands/sync-refs.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/sync-refs.ts)_ | ||
_See code: [src/commands/sync-refs.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/sync-refs.ts)_ | ||
## `terrain task:new [TASK]` | ||
|
@@ -754,7 +699,7 @@ DESCRIPTION | |
create new task | ||
``` | ||
_See code: [src/commands/task/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/task/new.ts)_ | ||
_See code: [src/commands/task/new.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/task/new.ts)_ | ||
## `terrain task:run [TASK]` | ||
|
@@ -775,7 +720,7 @@ DESCRIPTION | |
run predefined task | ||
``` | ||
_See code: [src/commands/task/run.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/task/run.ts)_ | ||
_See code: [src/commands/task/run.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/task/run.ts)_ | ||
## `terrain test CONTRACT-NAME` | ||
|
@@ -797,7 +742,7 @@ EXAMPLES | |
$ terrain test counter --no-fail-fast | ||
``` | ||
_See code: [src/commands/test.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/test.ts)_ | ||
_See code: [src/commands/test.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/test.ts)_ | ||
## `terrain wallet:new` | ||
|
@@ -815,5 +760,5 @@ DESCRIPTION | |
Generate a new wallet. | ||
``` | ||
_See code: [src/commands/wallet/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/wallet/new.ts)_ | ||
_See code: [src/commands/wallet/new.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/wallet/new.ts)_ | ||
<!-- commandsstop --> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters