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>
21 lines
327 B
Go
21 lines
327 B
Go
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()
|
|
}
|