Skip to content

Commit abf0f33

Browse files
committed
more aliases
1 parent c56fcb3 commit abf0f33

13 files changed

+13
-13
lines changed

cmd/client_loginAdd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
// loginAddCmd represents the loginAdd command
1212
var loginAddCmd = &cobra.Command{
1313
Use: "login-add",
14-
Aliases: []string{"la"},
14+
Aliases: []string{"loginadd", "la"},
1515
Short: "Create a new idp initiated login link",
1616
Run: func(cmd *cobra.Command, args []string) {
1717
// read command line arguments

cmd/client_loginDel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
// loginDelCmd represents the loginDel command
1111
var loginDelCmd = &cobra.Command{
1212
Use: "login-del [login-name]",
13-
Aliases: []string{"ld"},
13+
Aliases: []string{"logindel", "ld"},
1414
Args: cobra.ExactArgs(1),
1515
Short: "Delete an idp initiated login link",
1616
Run: func(cmd *cobra.Command, args []string) {

cmd/client_loginList.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
// loginListCmd represents the loginList command
1313
var loginListCmd = &cobra.Command{
1414
Use: "login-list",
15-
Aliases: []string{"logins", "ll"},
15+
Aliases: []string{"logins", "loginlist", "ll"},
1616
Short: "List links for idp initiated login",
1717
Run: func(cmd *cobra.Command, args []string) {
1818
// create plasmid client

cmd/client_sessionDel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
// sessionDelCmd represents the sessionDel command
1212
var sessionDelCmd = &cobra.Command{
1313
Use: "session-del [session-id]",
14-
Aliases: []string{"sd"},
14+
Aliases: []string{"sessiondel", "sd"},
1515
Args: cobra.ExactArgs(1),
1616
Short: "Delete an active user session",
1717
Run: func(cmd *cobra.Command, args []string) {

cmd/client_sessionGet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
// sessionGetCmd represents the sessionGet command
1414
var sessionGetCmd = &cobra.Command{
1515
Use: "session-get [session-id]",
16-
Aliases: []string{"session", "s", "sg"},
16+
Aliases: []string{"session", "sessionget", "s", "sg"},
1717
Args: cobra.ExactArgs(1),
1818
Short: "Get details about an active user session",
1919
Run: func(cmd *cobra.Command, args []string) {

cmd/client_sessionList.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
// sessionListCmd represents the sessionList command
1313
var sessionListCmd = &cobra.Command{
1414
Use: "session-list",
15-
Aliases: []string{"sessions", "sl"},
15+
Aliases: []string{"sessions", "sessionlist", "sl"},
1616
Short: "List active user sessions",
1717
Run: func(cmd *cobra.Command, args []string) {
1818
// create plasmid client

cmd/client_spAdd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
// spAddCmd represents the spAdd command
1111
var spAddCmd = &cobra.Command{
1212
Use: "sp-add",
13-
Aliases: []string{"spa"},
13+
Aliases: []string{"spadd", "spa"},
1414
Short: "Register a new service provider",
1515
Run: func(cmd *cobra.Command, args []string) {
1616
// read command line arguments

cmd/client_spDel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
// spDelCmd represents the spGet command
1212
var spDelCmd = &cobra.Command{
1313
Use: "sp-del [sp-name]",
14-
Aliases: []string{"spd"},
14+
Aliases: []string{"spdel", "spd"},
1515
Args: cobra.ExactArgs(1),
1616
Short: "Delete a service provider",
1717
Run: func(cmd *cobra.Command, args []string) {

cmd/client_spList.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
// spListCmd represents the serviceList command
1313
var spListCmd = &cobra.Command{
1414
Use: "sp-list",
15-
Aliases: []string{"sps", "spl"},
15+
Aliases: []string{"sps", "splist", "spl"},
1616
Short: "List service providers",
1717
Run: func(cmd *cobra.Command, args []string) {
1818
// create plasmid client

cmd/client_userAdd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
// userAddCmd represents the user-add command
1313
var userAddCmd = &cobra.Command{
1414
Use: "user-add",
15-
Aliases: []string{"ua"},
15+
Aliases: []string{"useradd", "ua"},
1616
Short: "Create a new user account",
1717
Run: func(cmd *cobra.Command, args []string) {
1818
// create plasmid client

0 commit comments

Comments
 (0)