♻️ Move web to sub-command
This commit is contained in:
parent
6c90679130
commit
213c9f6541
4 changed files with 45 additions and 31 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Reference in a new issue