feat: add init command and setup db

This commit is contained in:
2025-09-22 21:13:17 +05:30
parent 1847b1795d
commit 13702d117a
7 changed files with 157 additions and 17 deletions

View File

@@ -1,6 +1,5 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
Copyright © 2025 Suraj B M <silicoflare@gmail.com>
*/
package cmd
@@ -10,18 +9,10 @@ import (
"github.com/spf13/cobra"
)
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "envy",
Short: "A brief description of your application",
Long: `A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
Short: "A CLI tool to manage .env files for your projects",
// Uncomment the following line if your bare application
// has an action associated with it:
// Run: func(cmd *cobra.Command, args []string) { },
@@ -47,5 +38,3 @@ func init() {
// when this action is called directly.
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
}