cmd

package
v0.0.0-...-7eaef7d Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package cmd holds all commands.

Package cmd holds all commands.

Package cmd holds all commands.

Index

Constants

View Source
const AppName = "ImgIndex"

AppName is the string representation of the application Name

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   AppName,
	Short: "ImgIndex - Image meta data (EXIF, IPTC, XMP) crawler and indexer (to JSON), written in GO.",
	Long: `ImgIndex - Image meta data (EXIF, IPTC, XMP) crawler and indexer (to JSON), written in GO.

	It collects given (configured) fields of meta data from images stored in a directory
	structure and writes them to a central JSON files.

	You can use this JSON file e.g. as a data source in HUGO websites.
	`,

	Run: func(cmd *cobra.Command, args []string) {
		indexCmd.Run(cmd, args)
	},
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and 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