mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 15:03:17 +00:00
feat: add web subcommand
This commit is contained in:
18
cmd/web.go
Normal file
18
cmd/web.go
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
package cmd
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/spf13/cobra"
|
||||||
|
)
|
||||||
|
|
||||||
|
var webCmd = &cobra.Command{
|
||||||
|
Use: "web",
|
||||||
|
Short: "Web-related commands",
|
||||||
|
Long: `This command is for web-related operations.`,
|
||||||
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
|
// This is left empty intentionally
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
rootCmd.AddCommand(webCmd)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user