Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

show help for update and user sub command

Maidul Islam5a906d412b38
diff --git a/cli/packages/cmd/user.go b/cli/packages/cmd/user.go
index 12d7004646..6fef0ac8a0 100644
--- a/cli/packages/cmd/user.go
+++ b/cli/packages/cmd/user.go
@@ -17,7 +17,9 @@ var userCmd = &cobra.Command{
DisableFlagsInUseLine: true,
Example: "infisical user",
Args: cobra.ExactArgs(0),
- Run: func(cmd *cobra.Command, args []string) {},
+ Run: func(cmd *cobra.Command, args []string) {
+ cmd.Help()
+ },
}
var switchCmd = &cobra.Command{
@@ -85,7 +87,9 @@ var updateCmd = &cobra.Command{
DisableFlagsInUseLine: true,
Example: "infisical user update",
Args: cobra.ExactArgs(0),
- Run: func(cmd *cobra.Command, args []string) {},
+ Run: func(cmd *cobra.Command, args []string) {
+ cmd.Help()
+ },
}
var domainCmd = &cobra.Command{