mirror of
https://github.com/go-shiori/shiori.git
synced 2025-02-22 06:53:22 +08:00
16 lines
319 B
Go
16 lines
319 B
Go
package cmd
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func accountPrintCmd() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "print",
|
|
Short: "Print the saved accounts",
|
|
Args: cobra.NoArgs,
|
|
Aliases: []string{"list", "ls"},
|
|
}
|
|
|
|
cmd.Flags().StringP("search", "s", "", "Search accounts by username")
|
|
|
|
return cmd
|
|
}
|