cmd

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.0.5"

Version is the version of s3-edit

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "s3-edit",
	Short: "Edit directly a file on Amazon S3",
	Long:  "Edit directly a file on Amazon S3",
	Run: func(cmd *cobra.Command, args []string) {
		if isShowVersion {
			ShowVersion()
			return
		}
		cmd.Usage()
	},
}

RootCmd define root command

Functions

func Execute

func Execute()

Execute execute root command

func ShowVersion

func ShowVersion()

ShowVersion print the version of s3-edit

Types

This section is empty.

Jump to

Keyboard shortcuts

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