From 155e8e1a4dd8946f6f663db54704827a51d20ba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jer=C3=B3nimo=20Albi?= Date: Tue, 13 Feb 2024 20:30:27 +0100 Subject: [PATCH] chore: add `--path` flag to health monitor app (#61) --- examples/health-monitor/cmd/cmd.go | 6 ++++++ examples/health-monitor/go.mod | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/health-monitor/cmd/cmd.go b/examples/health-monitor/cmd/cmd.go index 404484cc..7a63e2cb 100644 --- a/examples/health-monitor/cmd/cmd.go +++ b/examples/health-monitor/cmd/cmd.go @@ -19,6 +19,12 @@ func GetCommands() []*plugin.Command { DefaultValue: "false", Type: plugin.FlagTypeBool, }, + { + Name: "path", + Usage: "path of the app", + DefaultValue: ".", + Type: plugin.FlagTypeString, + }, { Name: "refresh-duration", Shorthand: "r", diff --git a/examples/health-monitor/go.mod b/examples/health-monitor/go.mod index a26d3a54..a3af7f3e 100644 --- a/examples/health-monitor/go.mod +++ b/examples/health-monitor/go.mod @@ -2,8 +2,6 @@ module health-monitor go 1.21.1 -toolchain go1.21.6 - require ( github.com/cometbft/cometbft v0.38.5 github.com/cosmos/cosmos-sdk v0.50.3