()
| 16 | const defaultGroupDisplay = "-" |
| 17 | |
| 18 | func (r *RootCmd) sharing() *serpent.Command { |
| 19 | cmd := &serpent.Command{ |
| 20 | Use: "sharing [subcommand]", |
| 21 | Short: "Commands for managing shared workspaces", |
| 22 | Aliases: []string{"share"}, |
| 23 | Handler: func(inv *serpent.Invocation) error { |
| 24 | return inv.Command.HelpHandler(inv) |
| 25 | }, |
| 26 | Children: []*serpent.Command{ |
| 27 | r.shareWorkspace(), |
| 28 | r.unshareWorkspace(), |
| 29 | r.statusWorkspaceSharing(), |
| 30 | }, |
| 31 | Hidden: true, |
| 32 | } |
| 33 | |
| 34 | return cmd |
| 35 | } |
| 36 | |
| 37 | func (r *RootCmd) statusWorkspaceSharing() *serpent.Command { |
| 38 | cmd := &serpent.Command{ |
no test coverage detected