add poster

This commit is contained in:
Rogee
2024-09-04 09:40:29 +08:00
parent 15d63d7263
commit 424175c2ce
5 changed files with 167 additions and 5 deletions

21
internal/cmd_publish.go Normal file
View File

@@ -0,0 +1,21 @@
package internal
import (
"context"
"github.com/spf13/cobra"
)
func PublishCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "publish",
Short: "publish posts",
RunE: wrapE(publishCmd),
}
return cmd
}
func publishCmd(ctx context.Context) error {
return nil
}