()
| 260 | } |
| 261 | |
| 262 | func init() { |
| 263 | shareLinkUpdateCmd.Flags().String("audience", "", "Set shared link audience: public, team, members, or no-one") |
| 264 | shareLinkUpdateCmd.Flags().String("expires", "", "Set shared link expiration time as an RFC3339 timestamp") |
| 265 | shareLinkUpdateCmd.Flags().Bool("remove-expiration", false, "Remove the shared link expiration time") |
| 266 | shareLinkUpdateCmd.Flags().Bool("allow-download", false, "Allow downloads from the shared link") |
| 267 | shareLinkUpdateCmd.Flags().Bool("disallow-download", false, "Disallow downloads from the shared link") |
| 268 | addSharedLinkPasswordFlags(shareLinkUpdateCmd) |
| 269 | shareLinkUpdateCmd.Flags().Bool("remove-password", false, "Remove the shared link password") |
| 270 | shareLinkCmd.AddCommand(shareLinkUpdateCmd) |
| 271 | enableStructuredOutput(shareLinkUpdateCmd) |
| 272 | } |
nothing calls this directly
no test coverage detected