mirror of
https://github.com/silicoflare/envy.git
synced 2026-05-26 19:57:59 +05:30
chore: remove extra comments from files
This commit is contained in:
13
cmd/root.go
13
cmd/root.go
@@ -1,6 +1,3 @@
|
||||
/*
|
||||
Copyright © 2025 Suraj B M <silicoflare@gmail.com>
|
||||
*/
|
||||
package cmd
|
||||
|
||||
import (
|
||||
@@ -17,8 +14,6 @@ import (
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "envy",
|
||||
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) {
|
||||
cwd, err := os.Getwd()
|
||||
utils.StopIfErr(err)
|
||||
@@ -78,13 +73,5 @@ func Execute() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
// Here you will define your flags and configuration settings.
|
||||
// Cobra supports persistent flags, which, if defined here,
|
||||
// will be global for your application.
|
||||
|
||||
// rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.envy.yaml)")
|
||||
|
||||
// Cobra also supports local flags, which will only run
|
||||
// when this action is called directly.
|
||||
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user