-
Notifications
You must be signed in to change notification settings - Fork 9
/
cmd.go
34 lines (29 loc) · 928 Bytes
/
cmd.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2022 Namespace Labs Inc; All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
package debug
import (
"github.com/spf13/cobra"
)
func NewDebugCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "debug",
Short: "Internal commands, for debugging.",
Aliases: []string{"d", "dbg"},
}
cmd.AddCommand(newPrintComputedCmd())
cmd.AddCommand(newComputeConfigCmd())
cmd.AddCommand(newPrintSealedCmd())
cmd.AddCommand(newImageIndexCmd())
cmd.AddCommand(newImageCmd())
cmd.AddCommand(newActionDemoCmd())
cmd.AddCommand(newDownloadCmd())
cmd.AddCommand(newPrepareCmd())
cmd.AddCommand(newDnsQuery())
cmd.AddCommand(newDecodeProtoCmd())
cmd.AddCommand(newUpdateLicenseCmd())
cmd.AddCommand(newKubernetesCmd())
cmd.AddCommand(newFindConfigCmd())
cmd.AddCommand(newInlineSpecCmd())
return cmd
}