(stdout *bytes.Buffer)
| 279 | } |
| 280 | |
| 281 | func newShareLinkInfoTestCommand(stdout *bytes.Buffer) *cobra.Command { |
| 282 | cmd := &cobra.Command{} |
| 283 | cmd.Flags().String("path", "", "") |
| 284 | addSharedLinkPasswordFlags(cmd) |
| 285 | if stdout != nil { |
| 286 | cmd.SetOut(stdout) |
| 287 | } |
| 288 | return cmd |
| 289 | } |
no test coverage detected