mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
feat: add Usage: pkl [OPTIONS] COMMAND [ARGS]...
Options:
-v, --version Show the version and exit
-h, --help Show this message and exit
Commands:
eval Render pkl module(s)
repl Start a REPL session
server Run as a server that communicates over standard
input/output
test Run tests within the given module(s)
project Run commands related to projects
download-package Download package(s)
For more information, visit
https://pkl-lang.org/main/0.26.3/pkl-cli/index.html#usage directory for message and transaction prototypes
This commit is contained in:
@@ -6,11 +6,14 @@ import (
|
||||
"cosmossdk.io/log"
|
||||
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
||||
_ "github.com/joho/godotenv/autoload"
|
||||
|
||||
"github.com/onsonr/sonr/app"
|
||||
"github.com/onsonr/sonr/internal/tui"
|
||||
)
|
||||
|
||||
func main() {
|
||||
rootCmd := NewRootCmd()
|
||||
rootCmd.AddCommand(tui.NewBuildProtoMsgCmd())
|
||||
|
||||
if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil {
|
||||
log.NewLogger(rootCmd.OutOrStderr()).Error("failure when running app", "err", err)
|
||||
|
||||
Reference in New Issue
Block a user