mirror of
https://github.com/absmach/magistrala.git
synced 2026-06-22 20:00:22 +00:00
ef5c253c51
Signed-off-by: nyagamunene <stevenyaga2014@gmail.com> Signed-off-by: dusan <borovcanindusan1@gmail.com> Co-authored-by: Steve Munene <stevenyaga2014@gmail.com>
62 lines
1.1 KiB
Go
62 lines
1.1 KiB
Go
// Copyright (c) Abstract Machines
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package cli_test
|
|
|
|
// CRUD and common commands
|
|
const (
|
|
createCmd = "create"
|
|
updateCmd = "update"
|
|
getCmd = "get"
|
|
enableCmd = "enable"
|
|
disableCmd = "disable"
|
|
freezeCmd = "freeze"
|
|
delCmd = "delete"
|
|
)
|
|
|
|
// Users commands
|
|
const (
|
|
tokCmd = "token"
|
|
refTokCmd = "refreshtoken"
|
|
profCmd = "profile"
|
|
resPassReqCmd = "resetpasswordrequest"
|
|
resPassCmd = "resetpassword"
|
|
passCmd = "password"
|
|
)
|
|
|
|
// Clients commands
|
|
const (
|
|
connCmd = "connect"
|
|
disconnCmd = "disconnect"
|
|
usersCmd = "users"
|
|
)
|
|
|
|
// Messages commands
|
|
const sendCmd = "send"
|
|
|
|
// Invitations commands
|
|
const (
|
|
acceptCmd = "accept"
|
|
rejectCmd = "reject"
|
|
userCmd = "user"
|
|
domainCmd = "domain"
|
|
)
|
|
|
|
// Role commands
|
|
const (
|
|
rolesCmd = "roles"
|
|
actionsCmd = "actions"
|
|
availableActionsCmd = "available-actions"
|
|
addCmd = "add"
|
|
listCmd = "list"
|
|
membersCmd = "members"
|
|
)
|
|
|
|
// Bootstrap commands
|
|
const (
|
|
updCmd = "update"
|
|
rmCmd = "remove"
|
|
whitelistCmd = "whitelist"
|
|
bootStrapCmd = "bootstrap"
|
|
)
|