From 1a376480c0e948bfdb21701a6d9c637fd05bed14 Mon Sep 17 00:00:00 2001
From: Fabian Seidl <fabian.b.seidl@stud.h-da.de>
Date: Thu, 28 Apr 2022 13:41:40 +0200
Subject: [PATCH] appplied suggestions to remove unnecessary description

---
 cli/cmd/login.go      |  9 ---------
 cli/cmd/logout.go     |  9 ---------
 cli/cmd/userCreate.go |  9 ---------
 cli/cmd/userDelete.go |  9 ---------
 cli/cmd/userGet.go    |  9 ---------
 cli/cmd/userGetAll.go | 10 ----------
 cli/cmd/userUpdate.go |  9 ---------
 7 files changed, 64 deletions(-)

diff --git a/cli/cmd/login.go b/cli/cmd/login.go
index 917a4d1b8..3d9aba572 100644
--- a/cli/cmd/login.go
+++ b/cli/cmd/login.go
@@ -78,15 +78,6 @@ var nbUserPwd string
 func init() {
 	rootCmd.AddCommand(loginCmd)
 
-	// Here you will define your flags and configuration settings.
-
-	// Cobra supports Persistent Flags which will work for this command
-	// and all subcommands, e.g.:
-	// loginCmd.PersistentFlags().String("foo", "", "A help for foo")
-
-	// Cobra supports local flags which will only run when this command
-	// is called directly, e.g.:
-	// loginCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
 	loginCmd.Flags().StringVar(&nbUserName, "u", "", "username for login")
 	loginCmd.Flags().StringVar(&nbUserPwd, "p", "", "pwd for login")
 }
diff --git a/cli/cmd/logout.go b/cli/cmd/logout.go
index ff7fec1ad..a797c80e5 100644
--- a/cli/cmd/logout.go
+++ b/cli/cmd/logout.go
@@ -60,14 +60,5 @@ var logoutCmd = &cobra.Command{
 func init() {
 	rootCmd.AddCommand(logoutCmd)
 
-	// Here you will define your flags and configuration settings.
-
-	// Cobra supports Persistent Flags which will work for this command
-	// and all subcommands, e.g.:
-	// loginCmd.PersistentFlags().String("foo", "", "A help for foo")
-
-	// Cobra supports local flags which will only run when this command
-	// is called directly, e.g.:
-	// loginCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
 	logoutCmd.Flags().StringVar(&nbUserName, "u", "", "username for logout")
 }
diff --git a/cli/cmd/userCreate.go b/cli/cmd/userCreate.go
index 1a6f14256..0b64cad0f 100644
--- a/cli/cmd/userCreate.go
+++ b/cli/cmd/userCreate.go
@@ -79,15 +79,6 @@ var nbUserRole string
 func init() {
 	rootCmd.AddCommand(userCreateCmd)
 
-	// Here you will define your flags and configuration settings.
-
-	// Cobra supports Persistent Flags which will work for this command
-	// and all subcommands, e.g.:
-	// loginCmd.PersistentFlags().String("foo", "", "A help for foo")
-
-	// Cobra supports local flags which will only run when this command
-	// is called directly, e.g.:
-	// loginCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
 	userCreateCmd.Flags().StringVar(&nbUserName, "u", "", "username for login")
 	userCreateCmd.Flags().StringVar(&nbUserPwd, "p", "", "pwd for login")
 	userCreateCmd.Flags().StringVar(&nbUserRole, "r", "", "role for user")
diff --git a/cli/cmd/userDelete.go b/cli/cmd/userDelete.go
index f981cb552..c8bfb2151 100644
--- a/cli/cmd/userDelete.go
+++ b/cli/cmd/userDelete.go
@@ -63,14 +63,5 @@ var userDeleteCmd = &cobra.Command{
 func init() {
 	rootCmd.AddCommand(userDeleteCmd)
 
-	// Here you will define your flags and configuration settings.
-
-	// Cobra supports Persistent Flags which will work for this command
-	// and all subcommands, e.g.:
-	// loginCmd.PersistentFlags().String("foo", "", "A help for foo")
-
-	// Cobra supports local flags which will only run when this command
-	// is called directly, e.g.:
-	// loginCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
 	userDeleteCmd.Flags().StringVar(&nbUserName, "u", "", "username to delete")
 }
diff --git a/cli/cmd/userGet.go b/cli/cmd/userGet.go
index 807988b87..b5f1a0bd9 100644
--- a/cli/cmd/userGet.go
+++ b/cli/cmd/userGet.go
@@ -62,14 +62,5 @@ var userGetCmd = &cobra.Command{
 func init() {
 	rootCmd.AddCommand(userGetCmd)
 
-	// Here you will define your flags and configuration settings.
-
-	// Cobra supports Persistent Flags which will work for this command
-	// and all subcommands, e.g.:
-	// loginCmd.PersistentFlags().String("foo", "", "A help for foo")
-
-	// Cobra supports local flags which will only run when this command
-	// is called directly, e.g.:
-	// loginCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
 	userGetCmd.Flags().StringVar(&nbUserName, "u", "", "username to find")
 }
diff --git a/cli/cmd/userGetAll.go b/cli/cmd/userGetAll.go
index 21c3867ee..e0719ef78 100644
--- a/cli/cmd/userGetAll.go
+++ b/cli/cmd/userGetAll.go
@@ -63,14 +63,4 @@ var userGetAllCmd = &cobra.Command{
 
 func init() {
 	rootCmd.AddCommand(userGetAllCmd)
-
-	// Here you will define your flags and configuration settings.
-
-	// Cobra supports Persistent Flags which will work for this command
-	// and all subcommands, e.g.:
-	// loginCmd.PersistentFlags().String("foo", "", "A help for foo")
-
-	// Cobra supports local flags which will only run when this command
-	// is called directly, e.g.:
-	// loginCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
 }
diff --git a/cli/cmd/userUpdate.go b/cli/cmd/userUpdate.go
index 412076cbe..a85365a5b 100644
--- a/cli/cmd/userUpdate.go
+++ b/cli/cmd/userUpdate.go
@@ -80,15 +80,6 @@ var nbUserID string
 func init() {
 	rootCmd.AddCommand(userUpdateCmd)
 
-	// Here you will define your flags and configuration settings.
-
-	// Cobra supports Persistent Flags which will work for this command
-	// and all subcommands, e.g.:
-	// loginCmd.PersistentFlags().String("foo", "", "A help for foo")
-
-	// Cobra supports local flags which will only run when this command
-	// is called directly, e.g.:
-	// loginCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
 	userUpdateCmd.Flags().StringVar(&nbUserID, "i", "", "id of the user")
 	userUpdateCmd.Flags().StringVar(&nbUserName, "u", "", "username for login")
 	userUpdateCmd.Flags().StringVar(&nbUserPwd, "p", "", "pwd for login")
-- 
GitLab