rclone: github.com/ncw/rclone/fs/config/configflags Index | Files

package configflags

import "github.com/ncw/rclone/fs/config/configflags"

Package configflags defines the flags used by rclone. It is decoupled into a separate package so it can be replaced.


Package Files


func AddFlags Uses

func AddFlags(flagSet *pflag.FlagSet)

AddFlags adds the non filing system specific flags to the command

func ParseHeaders Uses

func ParseHeaders(headers []string) []*fs.HTTPOption

ParseHeaders converts the strings passed in via the header flags into HTTPOptions

func SetFlags Uses

func SetFlags()

SetFlags converts any flags into config which weren't straight forward

Package configflags imports 11 packages (graph) and is imported by 7 packages. Updated 2020-08-03. Refresh now. Tools for package owners.