From ed7ba4d08a5611eb310da98e45a0eed1d6a7caff Mon Sep 17 00:00:00 2001 From: jeronimoalbi Date: Tue, 13 Feb 2024 18:56:27 +0100 Subject: [PATCH] chore: add path flag to health monitor app This flag allows users to optionally specify the location of the app chain directory. --- examples/health-monitor/cmd/cmd.go | 6 ++++++ 1 file changed, 6 insertions(+) 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",