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:
Prad Nukala
2024-09-05 16:38:44 -04:00
parent a595f96f38
commit 81b9c99222
8 changed files with 416 additions and 3 deletions
+3
View File
@@ -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)