[#1105] cli: Add apemanager commands
All checks were successful
DCO action / DCO (pull_request) Successful in 6m41s
Vulncheck / Vulncheck (pull_request) Successful in 8m42s
Build / Build Components (1.21) (pull_request) Successful in 11m56s
Build / Build Components (1.22) (pull_request) Successful in 11m51s
Pre-commit hooks / Pre-commit (pull_request) Successful in 16m19s
Tests and linters / Lint (pull_request) Successful in 4m14s
Tests and linters / gopls check (pull_request) Successful in 4m5s
Tests and linters / Staticcheck (pull_request) Successful in 4m10s
Tests and linters / Tests (1.21) (pull_request) Successful in 9m24s
Tests and linters / Tests with -race (pull_request) Successful in 9m15s
Tests and linters / Tests (1.22) (pull_request) Successful in 11m54s

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2024-05-13 19:07:44 +03:00
parent af68ea0051
commit 54bc1ee58a
5 changed files with 279 additions and 0 deletions

View file

@ -0,0 +1,21 @@
package apemanager
import (
"github.com/spf13/cobra"
)
var Cmd = &cobra.Command{
Use: "ape-manager",
Short: "Operations with APE manager",
Long: `Operations with APE manager`,
}
func init() {
Cmd.AddCommand(addCmd)
Cmd.AddCommand(removeCmd)
Cmd.AddCommand(listCmd)
initAddCmd()
initRemoveCmd()
initListCmd()
}