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
2 changes: 1 addition & 1 deletion cmd/branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func init() {
}

var branchCmd = &cobra.Command{
Use: "branch",
Use: "branch [<branchname>]",
Short: "Manage branches across all repos in a directory",
Long: `List, create, delete, move, or show the current branch across all repos in a directory.`,
Args: cobra.MaximumNArgs(2),
Expand Down
10 changes: 7 additions & 3 deletions cmd/clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ func init() {
}

var cloneCmd = &cobra.Command{
Use: "clone [user|org] [directory]",
Short: "Clone all active repos from an org or user",
Long: `Clone all active (non-archived) repositories from a GitHub org or user into the target directory. The optional directory argument specifies where to clone the repos (defaults to the current directory).`,
Use: "clone [user|org] [directory]",
Short: "Clone all active repos from an org or user",
Long: `Clone all active (non-archived) repositories from a GitHub org or user into the target directory.
The optional directory argument specifies where to clone the repos (defaults to the current directory).

When --topics is provided multiple times, only repos that have ALL specified topics are cloned (AND logic).
To clone repos matching any one topic, run separate clone invocations per topic.`,
Args: cobra.MaximumNArgs(2),
ValidArgsFunction: createCmdValidArgsFunc,
PersistentPreRun: setupClient,
Expand Down
2 changes: 1 addition & 1 deletion cmd/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func init() {
}

var logCmd = &cobra.Command{
Use: "log",
Use: "log [<since>..<until>]",
Short: "Show commit logs for all repos in a directory",
Long: `Show commit logs all repos in a directory. Since commit hashes would not be the same between
multiple repos this command really only makes sense when used with two branch names or two tags.`,
Expand Down
2 changes: 1 addition & 1 deletion cmd/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func init() {
}

var pushCmd = &cobra.Command{
Use: "push",
Use: "push [<remote>] [<branch|tag>]",
Short: "Push all repos in a directory",
Long: `Push local commits to the remote across all repos in a directory.`,
ValidArgsFunction: pushCmdValidArgsFunc,
Expand Down
Loading