♻️ Move web to sub-command

This commit is contained in:
Dan Jones 2023-03-24 13:03:21 -05:00
commit 213c9f6541
4 changed files with 45 additions and 31 deletions

View file

@ -11,9 +11,10 @@ var rootCmd = &cobra.Command{
Use: "gopub",
Short: "gopub is a single-user ActivityPub instance",
Long: "...",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Run a sub-command")
},
}
func init() {
rootCmd.AddCommand(AppCmd)
}
func Execute() {