Files
magistrala/cli/commands_test.go
T
Dušan Borovčanin ef5c253c51 SMQ-3399 - Unify Magistrala and SuperMQ (#3400)
Signed-off-by: nyagamunene <stevenyaga2014@gmail.com>
Signed-off-by: dusan <borovcanindusan1@gmail.com>
Co-authored-by: Steve Munene <stevenyaga2014@gmail.com>
2026-04-01 09:55:11 +02:00

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"
)