aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-03-15 14:31:40 +0800
committerzelig <viktor.tron@gmail.com>2015-03-15 14:31:40 +0800
commit7279a485c24de3f0aaf839e1884151322a97dbf7 (patch)
tree37080072b05021f76850a6c93fb03a46657149f3 /cmd/utils/flags.go
parent16ecb1e2eaf5c7a17a29a35d33a02905fd45fe02 (diff)
downloadgo-tangerine-7279a485c24de3f0aaf839e1884151322a97dbf7.tar
go-tangerine-7279a485c24de3f0aaf839e1884151322a97dbf7.tar.gz
go-tangerine-7279a485c24de3f0aaf839e1884151322a97dbf7.tar.bz2
go-tangerine-7279a485c24de3f0aaf839e1884151322a97dbf7.tar.lz
go-tangerine-7279a485c24de3f0aaf839e1884151322a97dbf7.tar.xz
go-tangerine-7279a485c24de3f0aaf839e1884151322a97dbf7.tar.zst
go-tangerine-7279a485c24de3f0aaf839e1884151322a97dbf7.zip
CLI:
- js subcommand for vm - console for Frontier console interactive REPL - jspath in cli - integrate jeth apiBindings
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r--cmd/utils/flags.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 6bcd7e811..563654441 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -163,6 +163,11 @@ var (
Usage: "Port mapping mechanism (any|none|upnp|pmp|extip:<IP>)",
Value: "any",
}
+ JSpathFlag = cli.StringFlag{
+ Name: "jspath",
+ Usage: "JS library path to be used with console and js subcommands",
+ Value: ".",
+ }
)
func GetNAT(ctx *cli.Context) nat.Interface {