(cmd *cobra.Command, args []string)
| 180 | var ErrTooManyArgs = errors.New("the command accepts no arguments") |
| 181 | |
| 182 | func noArgsConstraint(cmd *cobra.Command, args []string) error { |
| 183 | if len(args) > 0 { |
| 184 | return ErrTooManyArgs |
| 185 | } |
| 186 | return nil |
| 187 | } |
| 188 | |
| 189 | type codespace struct { |
| 190 | *api.Codespace |
nothing calls this directly
no outgoing calls
no test coverage detected