mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-17 05:17:59 +08:00
Add alias for print command
This commit is contained in:
parent
7077b903e5
commit
efd20cb400
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ var (
|
|||
Long: "Show the saved bookmarks by its DB index. " +
|
||||
"Accepts space-separated list of indices (e.g. 5 6 23 4 110 45), hyphenated range (e.g. 100-200) or both (e.g. 1-3 7 9). " +
|
||||
"If no arguments, all records with actual index from DB are shown.",
|
||||
Aliases: []string{"list", "ls"},
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
// Read flags
|
||||
useJSON, _ := cmd.Flags().GetBool("json")
|
||||
|
|
Loading…
Reference in a new issue