add poster
This commit is contained in:
21
internal/cmd_publish.go
Normal file
21
internal/cmd_publish.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user