Skip to content

Commit

Permalink
more aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeous committed Sep 27, 2022
1 parent c56fcb3 commit abf0f33
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cmd/client_loginAdd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_loginDel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_loginList.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_sessionDel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_sessionGet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_sessionList.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_spAdd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_spDel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_spList.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_userAdd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_userDel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_userGet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/client_userList.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abf0f33

Please sign in to comment.