1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-09 17:44:59 +09:00
anytype-heart/cmd/cli/cli.go
2021-03-25 12:07:18 +04:00

25 lines
405 B
Go

package main
import (
"fmt"
"github.com/spf13/cobra"
)
var CliCmd = &cobra.Command{
Use: "cli",
Short: "CLI utilities",
Long: `Various CLI utilities for cafe operations.`,
}
func init() {
// subcommands
CliCmd.AddCommand(migrateCmd)
CliCmd.AddCommand(cafeCmd)
// local flags
}
func main() {
if err := CliCmd.Execute(); err != nil {
fmt.Printf("failed to execute: %s", err.Error())
}
}