Skip to content

Commit

Permalink
feat(cmd/ondrejsika/dela): Create command slu ondrejsika dela which…
Browse files Browse the repository at this point in the history
… prints photo of my dog Dela to terminal <3
  • Loading branch information
ondrejsika committed Oct 3, 2023
1 parent 48d396e commit 0b0c3fe
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ import (
_ "github.com/sikalabs/slu/cmd/mysql/list"
_ "github.com/sikalabs/slu/cmd/mysql/ping"
_ "github.com/sikalabs/slu/cmd/ondrejsika"
_ "github.com/sikalabs/slu/cmd/ondrejsika/dela"
_ "github.com/sikalabs/slu/cmd/ondrejsika/clear_dns_cache_mac"
_ "github.com/sikalabs/slu/cmd/ondrejsika/desktop_cleanup"
_ "github.com/sikalabs/slu/cmd/ondrejsika/large_desktop_files"
Expand Down
22 changes: 22 additions & 0 deletions cmd/ondrejsika/dela/dela.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package large_desktop_files

import (
parentcmd "github.com/sikalabs/slu/cmd/ondrejsika"
"github.com/sikalabs/slu/lib/printdela"
"github.com/spf13/cobra"

_ "image/jpeg"
)

var Cmd = &cobra.Command{
Use: "dela",
Short: "Print picture of Dela to terminal",
Args: cobra.NoArgs,
Run: func(c *cobra.Command, args []string) {
printdela.PrintDela()
},
}

func init() {
parentcmd.Cmd.AddCommand(Cmd)
}

0 comments on commit 0b0c3fe

Please sign in to comment.