From abf0f331d776b4388de0d33d365759e7290aafce Mon Sep 17 00:00:00 2001 From: Mathieu Deous Date: Tue, 27 Sep 2022 22:16:40 +0200 Subject: [PATCH] more aliases --- cmd/client_loginAdd.go | 2 +- cmd/client_loginDel.go | 2 +- cmd/client_loginList.go | 2 +- cmd/client_sessionDel.go | 2 +- cmd/client_sessionGet.go | 2 +- cmd/client_sessionList.go | 2 +- cmd/client_spAdd.go | 2 +- cmd/client_spDel.go | 2 +- cmd/client_spList.go | 2 +- cmd/client_userAdd.go | 2 +- cmd/client_userDel.go | 2 +- cmd/client_userGet.go | 2 +- cmd/client_userList.go | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cmd/client_loginAdd.go b/cmd/client_loginAdd.go index 3f5ab5f..5d667be 100644 --- a/cmd/client_loginAdd.go +++ b/cmd/client_loginAdd.go @@ -11,7 +11,7 @@ import ( // loginAddCmd represents the loginAdd command var loginAddCmd = &cobra.Command{ Use: "login-add", - Aliases: []string{"la"}, + Aliases: []string{"loginadd", "la"}, Short: "Create a new idp initiated login link", Run: func(cmd *cobra.Command, args []string) { // read command line arguments diff --git a/cmd/client_loginDel.go b/cmd/client_loginDel.go index 943f496..8d9face 100644 --- a/cmd/client_loginDel.go +++ b/cmd/client_loginDel.go @@ -10,7 +10,7 @@ import ( // loginDelCmd represents the loginDel command var loginDelCmd = &cobra.Command{ Use: "login-del [login-name]", - Aliases: []string{"ld"}, + Aliases: []string{"logindel", "ld"}, Args: cobra.ExactArgs(1), Short: "Delete an idp initiated login link", Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/client_loginList.go b/cmd/client_loginList.go index 39613f1..13236bb 100644 --- a/cmd/client_loginList.go +++ b/cmd/client_loginList.go @@ -12,7 +12,7 @@ import ( // loginListCmd represents the loginList command var loginListCmd = &cobra.Command{ Use: "login-list", - Aliases: []string{"logins", "ll"}, + Aliases: []string{"logins", "loginlist", "ll"}, Short: "List links for idp initiated login", Run: func(cmd *cobra.Command, args []string) { // create plasmid client diff --git a/cmd/client_sessionDel.go b/cmd/client_sessionDel.go index 10a48df..9bdceec 100644 --- a/cmd/client_sessionDel.go +++ b/cmd/client_sessionDel.go @@ -11,7 +11,7 @@ import ( // sessionDelCmd represents the sessionDel command var sessionDelCmd = &cobra.Command{ Use: "session-del [session-id]", - Aliases: []string{"sd"}, + Aliases: []string{"sessiondel", "sd"}, Args: cobra.ExactArgs(1), Short: "Delete an active user session", Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/client_sessionGet.go b/cmd/client_sessionGet.go index bbaa4a7..bdf3211 100644 --- a/cmd/client_sessionGet.go +++ b/cmd/client_sessionGet.go @@ -13,7 +13,7 @@ import ( // sessionGetCmd represents the sessionGet command var sessionGetCmd = &cobra.Command{ Use: "session-get [session-id]", - Aliases: []string{"session", "s", "sg"}, + Aliases: []string{"session", "sessionget", "s", "sg"}, Args: cobra.ExactArgs(1), Short: "Get details about an active user session", Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/client_sessionList.go b/cmd/client_sessionList.go index 24b8e9e..7bf0252 100644 --- a/cmd/client_sessionList.go +++ b/cmd/client_sessionList.go @@ -12,7 +12,7 @@ import ( // sessionListCmd represents the sessionList command var sessionListCmd = &cobra.Command{ Use: "session-list", - Aliases: []string{"sessions", "sl"}, + Aliases: []string{"sessions", "sessionlist", "sl"}, Short: "List active user sessions", Run: func(cmd *cobra.Command, args []string) { // create plasmid client diff --git a/cmd/client_spAdd.go b/cmd/client_spAdd.go index e26c86d..7e710cc 100644 --- a/cmd/client_spAdd.go +++ b/cmd/client_spAdd.go @@ -10,7 +10,7 @@ import ( // spAddCmd represents the spAdd command var spAddCmd = &cobra.Command{ Use: "sp-add", - Aliases: []string{"spa"}, + Aliases: []string{"spadd", "spa"}, Short: "Register a new service provider", Run: func(cmd *cobra.Command, args []string) { // read command line arguments diff --git a/cmd/client_spDel.go b/cmd/client_spDel.go index 881a686..1fed372 100644 --- a/cmd/client_spDel.go +++ b/cmd/client_spDel.go @@ -11,7 +11,7 @@ import ( // spDelCmd represents the spGet command var spDelCmd = &cobra.Command{ Use: "sp-del [sp-name]", - Aliases: []string{"spd"}, + Aliases: []string{"spdel", "spd"}, Args: cobra.ExactArgs(1), Short: "Delete a service provider", Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/client_spList.go b/cmd/client_spList.go index 383077a..9b346b8 100644 --- a/cmd/client_spList.go +++ b/cmd/client_spList.go @@ -12,7 +12,7 @@ import ( // spListCmd represents the serviceList command var spListCmd = &cobra.Command{ Use: "sp-list", - Aliases: []string{"sps", "spl"}, + Aliases: []string{"sps", "splist", "spl"}, Short: "List service providers", Run: func(cmd *cobra.Command, args []string) { // create plasmid client diff --git a/cmd/client_userAdd.go b/cmd/client_userAdd.go index bf063a2..d2d57d6 100644 --- a/cmd/client_userAdd.go +++ b/cmd/client_userAdd.go @@ -12,7 +12,7 @@ import ( // userAddCmd represents the user-add command var userAddCmd = &cobra.Command{ Use: "user-add", - Aliases: []string{"ua"}, + Aliases: []string{"useradd", "ua"}, Short: "Create a new user account", Run: func(cmd *cobra.Command, args []string) { // create plasmid client diff --git a/cmd/client_userDel.go b/cmd/client_userDel.go index 919514d..a57f00e 100644 --- a/cmd/client_userDel.go +++ b/cmd/client_userDel.go @@ -10,7 +10,7 @@ import ( // userDelCmd represents the userDel command var userDelCmd = &cobra.Command{ Use: "user-del [username]", - Aliases: []string{"ud"}, + Aliases: []string{"userdel", "ud"}, Args: cobra.ExactArgs(1), Short: "Delete an user account", Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/client_userGet.go b/cmd/client_userGet.go index 86f1e87..63dbdfd 100644 --- a/cmd/client_userGet.go +++ b/cmd/client_userGet.go @@ -13,7 +13,7 @@ import ( // userGetCmd represents the userGet command var userGetCmd = &cobra.Command{ Use: "user-get [username]", - Aliases: []string{"user", "u", "ug"}, + Aliases: []string{"user", "userget", "u", "ug"}, Args: cobra.ExactArgs(1), Short: "Get details about a user account", Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/client_userList.go b/cmd/client_userList.go index ef96d07..4833a27 100644 --- a/cmd/client_userList.go +++ b/cmd/client_userList.go @@ -11,7 +11,7 @@ import ( // userListCmd represents the list command var userListCmd = &cobra.Command{ Use: "user-list", - Aliases: []string{"users", "ul", "u"}, + Aliases: []string{"users", "userlist", "ul", "u"}, Short: "List user accounts", Run: func(cmd *cobra.Command, args []string) { // create plasmid client