MCPcopy Create free account
hub / github.com/dropbox/dbxcli / init

Function init

cmd/share_link_update.go:262–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260}
261
262func 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}

Callers

nothing calls this directly

Calls 2

enableStructuredOutputFunction · 0.85

Tested by

no test coverage detected