mirror of
https://github.com/go-shiori/shiori.git
synced 2025-02-22 15:06:04 +08:00
17 lines
319 B
Go
17 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
|
||
|
}
|