1
1
Fork 0
mirror of https://github.com/go-shiori/shiori.git synced 2025-01-29 11:19:21 +08:00
shiori/internal/cmd/import.go
2019-05-21 10:31:40 +07:00

15 lines
348 B
Go

package cmd
import "github.com/spf13/cobra"
func importCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "import source-file",
Short: "Import bookmarks from HTML file in Netscape Bookmark format",
Args: cobra.ExactArgs(1),
}
cmd.Flags().BoolP("generate-tag", "t", false, "Auto generate tag from bookmark's category")
return cmd
}