inital release refactor

This commit is contained in:
Alex Lovell-Troy 2023-09-14 15:10:08 -04:00
parent 34367f830a
commit 3351de48a6
12 changed files with 215 additions and 84 deletions

View file

@ -1,16 +1,16 @@
package cmd
import (
"davidallendj/magellan/internal/db/sqlite"
"fmt"
"github.com/bikeshack/magellan/internal/db/sqlite"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
var listCmd = &cobra.Command{
Use: "list",
Use: "list",
Short: "List information from scan",
Run: func(cmd *cobra.Command, args []string) {
probeResults, err := sqlite.GetProbeResults(dbpath)
@ -25,4 +25,4 @@ var listCmd = &cobra.Command{
func init() {
rootCmd.AddCommand(listCmd)
}
}