cmd

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OneDriveCmd = &cobra.Command{
		Use:   "onedrive",
		Short: "onedrive command",
	}
	OneDriveAuthorizeCmd = &cobra.Command{
		Use:   "authorize",
		Short: "onedrive authorize",
		Run: func(cmd *cobra.Command, args []string) {
			logInit()
			OneDriveAuthorize(output)
		},
	}
	OneDriveServeCmd = &cobra.Command{
		Use:   "start",
		Short: "start a service",
		Run: func(cmd *cobra.Command, args []string) {
			logInit()
			OneDriveService(onedriveConfigPath)
		},
	}
)

Functions

func Execute

func Execute()

func OneDriveAuthorize

func OneDriveAuthorize(output string)

func OneDriveService

func OneDriveService(configPath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL