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

Function addSharedLinkPasswordFlags

cmd/share_link_password.go:35–39  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

33var readSharedLinkPassword = defaultReadSharedLinkPassword
34
35func addSharedLinkPasswordFlags(cmd *cobra.Command) {
36 cmd.Flags().String("password", "", "Password for password-protected shared links")
37 cmd.Flags().Bool("password-prompt", false, "Prompt for the shared link password")
38 cmd.Flags().String("password-file", "", "Read the shared link password from a file")
39}
40
41func sharedLinkPasswordFromFlags(cmd *cobra.Command) (sharedLinkPasswordOptions, error) {
42 var sourceCount int

Calls

no outgoing calls