Skip to content

Commit

Permalink
Merge pull request #3 from bschaatsbergen/f/gen-overlap
Browse files Browse the repository at this point in the history
Create overlap.go
  • Loading branch information
bschaatsbergen authored Sep 8, 2022
2 parents 47885ac + d19dc6b commit ee78441
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions cmd/overlap.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package cmd

import (
"fmt"

"github.com/spf13/cobra"
)

var overlapCmd = &cobra.Command{
Use: "overlap",
Short: "Checks whether 2 cidr ranges overlap",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("overlap called")
},
}

func init() {
rootCmd.AddCommand(overlapCmd)
}

0 comments on commit ee78441

Please sign in to comment.