Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyCmd = &cobra.Command{ Use: "empty", Short: "empty clears all trashbins that can be found", Long: "TODO", SuggestFor: []string{"clear"}, Args: cobra.NoArgs, Run: func(cmd *cobra.Command, args []string) { if err := wastebasket.Empty(); err != nil { cmd.PrintErrln(err) } }, }
View Source
var TrashCmd = &cobra.Command{ Use: "trash files...", Short: "trash moves the specified files into the trashbin", Long: "TODO", SuggestFor: []string{"delete", "remove", "recycle"}, Args: cobra.MinimumNArgs(1), Run: func(cmd *cobra.Command, args []string) { if err := wastebasket.Trash(args...); err != nil { cmd.PrintErrln(err) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.