Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions cmd/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@ var configValidArgs = []string{
}

var ConfigCmd = &cobra.Command{
Use: "config [config_field] [value]",
Short: "Configure align settings",
Long: `Get or set align configuration values.`,
Use: "config <field> <value>",
Short: "Set align configuration values",
Long: `Set align configuration values in ~/.align/config.

Valid fields:

github.limits.burst burstable rate for the GitHub client (default: 25)
github.limits.requests_per_second maximum requests per second for the GitHub client (default: 10)`,
Args: cobra.ExactArgs(2),
Run: configFunc,
ValidArgs: configValidArgs,
Expand Down
2 changes: 1 addition & 1 deletion cmd/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func init() {
}

var pullCmd = &cobra.Command{
Use: "pull",
Use: "pull [<remote> [<branch>]]",
Short: "Pull all repos in a directory",
Long: `Fetch and integrate remote changes across all repos in a directory.`,
PersistentPreRun: setupClient,
Expand Down
Loading