cmd

package
v0.0.0-...-30f07af Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: MIT Imports: 16 Imported by: 0

README

cmd

-- import "github.com/msample/cutkmz/cmd"

cutkmz subcommands

Other than root.go, each of these go files is a cutkmz subcommand implementation

- kmz -    produces a KMZ with input JPG chopped into 1024x1024 tiles
- bigkmz - produces a KMZ containing input JPG as is for higher resolution uses such as Google Earth

Usage

var RootCmd = &cobra.Command{
	Use:   "cutkmz",
	Short: "Creates .kmz map tiles for a Garmin GPS from a JPG",
	Long:  `see help on the kmz and rename subcommands`,
}

This represents the base command when called without any subcommands

func Execute
func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Documentation

Overview

cutkmz subcommands

Other than root.go, each of these go files is a cutkmz subcommand implementation

  • kmz - produces a KMZ with input JPG chopped into 1024x1024 tiles
  • bigkmz - produces a KMZ containing input JPG as is for higher resolution uses such as Google Earth

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "cutkmz",
	Short: "Creates .kmz map tiles for a Garmin GPS from a JPG",
	Long:  `see help on the kmz and rename subcommands`,
}

This represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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