cmd

package
v0.0.0-...-97436da Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const PRESENTATION_FILE = ".git-presentation"

Variables

View Source
var CmdInit = cli.Command{
	Name:  "init",
	Usage: "Initialize a git-presenter config file",
	Description: `Init creates a .git-presenter configuration file listing the commits that will be used during the git presentation.
You can edit use this file to customize which commits will be included in the presentation and also the order the commits are presented.`,
	Action: runInit,
	Flags: []cli.Flag{
		cli.BoolFlag{"verbose, v", "show process details", ""},
		cli.StringFlag{"repo, r", ".", "present specified repository", ""},
	},
}
View Source
var CmdStart = cli.Command{
	Name:        "start",
	Usage:       "Start a git presentation",
	Description: `Start begins the git presentation process.  If a .git-presentation file is found it will be used, otherwise all commits will be used in reverse-chronological order.`,
	Action:      runStart,
	Flags: []cli.Flag{
		cli.BoolFlag{"verbose, v", "show process details", ""},
	},
}

Functions

This section is empty.

Types

type ConfigMeta

type ConfigMeta struct {
	Sha     string `json:"sha"`
	Message string `json:"message"`
}

type PresentationConfig

type PresentationConfig struct {
	Repo    string       `json:"repository"`
	Commits []ConfigMeta `json:"commits"`
}

Jump to

Keyboard shortcuts

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