cmd

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 29 Imported by: 0

Documentation

Overview

https://i.pinimg.com/originals/b4/c7/df/b4c7dffc53f77d7002c626a376b2bcb2.jpg

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:     "oneshot [flags]... [file|dir]",
	Version: fmt.Sprintf(": %s\ndate : %s\nauthor : Raphael Reyna", version, date),
	Short:   "A single-fire first-come-first-serve HTTP server.",
	Long: `Transfer files and data easily between your computer and any browser or HTTP client.
The first client to connect is given the file or uploads a file, all others receive an HTTP 410 Gone response code.
Directories will automatically be archived before being sent (see -a, --archive-method for more information).
`,
	Run: run,
}

Functions

func Execute

func Execute()

func SetFlags added in v0.6.0

func SetFlags()

Types

This section is empty.

Jump to

Keyboard shortcuts

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