fix: Use logger instead of log. Move web subcommand initialization to root.go

This commit is contained in:
Arik Jones
2024-09-19 11:44:27 -05:00
parent eabf1ba23f
commit 160a15dbb1
3 changed files with 35 additions and 37 deletions

View File

@@ -1,8 +1,6 @@
package cmd
import (
"fmt"
"github.com/spf13/cobra"
config "github.com/tnypxl/rollup/internal/config"
)
@@ -33,4 +31,5 @@ func init() {
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "Enable verbose logging")
rootCmd.AddCommand(filesCmd)
rootCmd.AddCommand(webCmd)
}