From b4bc96b44d97429ad86a6df73dff21e79381f366 Mon Sep 17 00:00:00 2001 From: NightStar Date: Tue, 28 Jul 2026 16:06:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20cobra=20root=20=E2=80=94=20config=20int?= =?UTF-8?q?egration,=20global=20flags,=20provider=20resolution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/cmd/root.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/cmd/root.go b/internal/cmd/root.go index 3fe87ac..2d0d804 100644 --- a/internal/cmd/root.go +++ b/internal/cmd/root.go @@ -25,6 +25,12 @@ var ( var rootCmd = &cobra.Command{ Use: "ry", Short: "Multi-cloud CLI — manage cloud resources from your terminal", + Long: `ry is a multi-cloud CLI that lets you manage cloud resources from your terminal. + +Use "ry [command] --help" for more information about a command.`, + RunE: func(cmd *cobra.Command, args []string) error { + return cmd.Help() + }, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { var err error cfg, err = config.Load(cfgPath)