Initial commit still with some hardcoded things

This commit is contained in:
2025-09-16 22:57:21 +01:00
commit b578976dad
14 changed files with 722 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
// Package cmd provides a command line interface to interact with this model.
package cmd
import (
"os"
"github.com/spf13/cobra"
)
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "invcertsw",
Short: "CLI invcertsw utility",
Long: `Utility to identify invoicing software from invoices`,
}
// Execute adds all child commands to the root command and sets flags appropriately.
// This is called by main.main(). It only needs to happen once to the rootCmd.
func Execute() {
err := rootCmd.Execute()
if err != nil {
os.Exit(1)
}
}
func init() {
// rootCmd.PersistentFlags().BoolP("dbstore", "s", false, "Store data in database")
}