@@ -22,13 +22,13 @@ struct Cli {
2222
2323#[ derive( Subcommand ) ]
2424enum Action {
25- #[ command( about = "Print or copy a snippet" , alias= "g" ) ]
25+ #[ command( about = "Print or copy a snippet" , alias = "g" ) ]
2626 Get {
2727 name : String ,
2828 #[ arg( short, long, help = "Copy to clipboard instead of printing" ) ]
2929 copy : bool ,
3030 } ,
31- #[ command( about = "Add a new snippet" , alias= "a" ) ]
31+ #[ command( about = "Add a new snippet" , alias = "a" ) ]
3232 Add {
3333 name : String ,
3434 #[ arg( long, short, num_args = 1 , help = "Read content from a file" ) ]
@@ -43,16 +43,16 @@ enum Action {
4343 ) ]
4444 ext : Option < String > ,
4545 } ,
46- #[ command( about = "List all snippets" , alias= "l" ) ]
46+ #[ command( about = "List all snippets" , alias = "l" ) ]
4747 List {
4848 #[ arg( short, long, num_args = 1 .., help = "Filter by tags" ) ]
4949 tags : Option < Vec < String > > ,
5050 #[ arg( short, long, help = "Show the snippets content" ) ]
5151 show : bool ,
5252 } ,
53- #[ command( about = "Remove a snippet" , alias= "r" ) ]
53+ #[ command( about = "Remove a snippet" , alias = "r" ) ]
5454 Remove { name : String } ,
55- #[ command( about = "Edit an existing snippet" , alias= "e" ) ]
55+ #[ command( about = "Edit an existing snippet" , alias = "e" ) ]
5656 Edit {
5757 name : String ,
5858 #[ arg( short, long, num_args = 1 .., help = "Update tags" ) ]
0 commit comments