Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Use: "serve <protocol> [opts] <remote>", Short: `Serve a remote over a protocol.`, Long: `rclone serve is used to serve a remote over a given protocol. This command requires the use of a subcommand to specify the protocol, eg rclone serve http remote: Each subcommand has its own options which you can see in their help. `, RunE: func(command *cobra.Command, args []string) error { if len(args) == 0 { return errors.New("serve requires a protocol, eg 'rclone serve http remote:'") } return errors.New("unknown protocol") }, }
Command definition for cobra
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.