Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
71c02eab
Commit
71c02eab
authored
Nov 13, 2020
by
袁兴强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update wasm command
parent
43571deb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
wasm.go
plugin/dapp/wasm/commands/wasm.go
+7
-7
No files found.
plugin/dapp/wasm/commands/wasm.go
View file @
71c02eab
...
...
@@ -12,7 +12,7 @@ import (
"github.com/spf13/cobra"
)
//
TokenCmd token
命令行
//
Cmd wasm
命令行
func
Cmd
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"wasm"
,
...
...
@@ -21,15 +21,15 @@ func Cmd() *cobra.Command {
}
cmd
.
AddCommand
(
C
mdCheckContract
(),
C
mdCreateContract
(),
C
mdCallContract
(),
c
mdCheckContract
(),
c
mdCreateContract
(),
c
mdCallContract
(),
)
return
cmd
}
func
C
mdCheckContract
()
*
cobra
.
Command
{
func
c
mdCheckContract
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"check"
,
Short
:
"Check whether the contract with the given name exists or not."
,
...
...
@@ -40,7 +40,7 @@ func CmdCheckContract() *cobra.Command {
return
cmd
}
func
C
mdCreateContract
()
*
cobra
.
Command
{
func
c
mdCreateContract
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"create"
,
Short
:
"publish a new contract on chain33"
,
...
...
@@ -53,7 +53,7 @@ func CmdCreateContract() *cobra.Command {
return
cmd
}
func
C
mdCallContract
()
*
cobra
.
Command
{
func
c
mdCallContract
()
*
cobra
.
Command
{
cmd
:=
&
cobra
.
Command
{
Use
:
"call"
,
Short
:
"call contract on chain33"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment