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 PresentationConfig ¶
type PresentationConfig struct { Repo string `json:"repository"` Commits []ConfigMeta `json:"commits"` }
Click to show internal directories.
Click to hide internal directories.