github.com/taubyte/tau-cli@v0.1.13-0.20240326000942-487f0d57edfc/cli/commands/resources/website/edit.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) Edit() common.Command { 10 return common.Create( 11 &cli.Command{ 12 Flags: flags.Combine( 13 flags.Description, 14 flags.Tags, 15 16 flags.Domains, 17 flags.Paths, 18 19 flags.RepositoryName, 20 flags.RepositoryId, 21 22 flags.Branch, 23 24 flags.Clone, 25 flags.EmbedToken, 26 27 // TODO maybe, handle generating a new repo 28 29 flags.Yes, 30 ), 31 Action: l.cmd.Edit, 32 }, 33 ) 34 }