cmd

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

View Source
var Version = "dev"

Version is the version of s3-edit

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