2023-04-25 12:09:20 +00:00
|
|
|
package control
|
|
|
|
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
|
|
|
|
var irCmd = &cobra.Command{
|
|
|
|
Use: "ir",
|
|
|
|
Short: "Operations with inner ring nodes",
|
|
|
|
Long: "Operations with inner ring nodes",
|
|
|
|
}
|
|
|
|
|
|
|
|
func initControlIRCmd() {
|
|
|
|
irCmd.AddCommand(tickEpochCmd)
|
2023-05-03 13:19:46 +00:00
|
|
|
irCmd.AddCommand(removeNodeCmd)
|
2023-04-25 12:09:20 +00:00
|
|
|
|
|
|
|
initControlIRTickEpochCmd()
|
2023-05-03 13:19:46 +00:00
|
|
|
initControlIRRemoveNodeCmd()
|
2023-04-25 12:09:20 +00:00
|
|
|
}
|