github.com/taubyte/tau-cli@v0.1.13-0.20240326000942-487f0d57edfc/cli/commands/resources/website/new.go (about) 1 package website 2 3 import ( 4 "github.com/taubyte/tau-cli/cli/common" 5 "github.com/taubyte/tau-cli/flags" 6 "github.com/urfave/cli/v2" 7 ) 8 9 func (l link) New() common.Command { 10 return common.Create( 11 &cli.Command{ 12 Flags: flags.Combine( 13 flags.Description, 14 flags.Tags, 15 flags.Template, 16 17 flags.Domains, 18 flags.Paths, 19 flags.Provider, 20 21 flags.RepositoryName, 22 flags.RepositoryId, 23 24 flags.Branch, 25 26 flags.Clone, 27 flags.EmbedToken, 28 29 flags.GenerateRepo, 30 flags.Private, 31 32 flags.Yes, 33 ), 34 Action: l.cmd.New, 35 }, 36 ) 37 }