Copy edits

This commit is contained in:
Amanda Pinsker 2019-11-18 23:26:18 -08:00
parent 7bb2c38467
commit 5e7557e8fa
4 changed files with 9 additions and 9 deletions

View file

@ -34,7 +34,7 @@ func init() {
issueListCmd := &cobra.Command{
Use: "list",
Short: "List open issues",
Short: "List and filter issues in this repository",
RunE: issueList,
}
issueListCmd.Flags().StringP("assignee", "a", "", "filter by assignee")
@ -46,8 +46,8 @@ func init() {
var issueCmd = &cobra.Command{
Use: "issue",
Short: "Work with GitHub issues",
Long: `Helps you work with issues.`,
Short: "Work with issues",
Long: `Work with GitHub issues`,
}
var issueCreateCmd = &cobra.Command{
Use: "create",

View file

@ -30,17 +30,17 @@ func init() {
var prCmd = &cobra.Command{
Use: "pr",
Short: "Work with pull requests",
Long: `Helps you work with pull requests.`,
Long: `Work with GitHub pull requests.`,
}
var prCheckoutCmd = &cobra.Command{
Use: "checkout <pr-number>",
Short: "check out a pull request in git",
Short: "Check out a pull request in Git",
Args: cobra.MinimumNArgs(1),
RunE: prCheckout,
}
var prListCmd = &cobra.Command{
Use: "list",
Short: "List pull requests",
Short: "List and filter pull requests in this repository",
RunE: prList,
}
var prStatusCmd = &cobra.Command{

View file

@ -68,14 +68,14 @@ func prCreate(cmd *cobra.Command, _ []string) error {
titleQuestion := &survey.Question{
Name: "title",
Prompt: &survey.Input{
Message: "PR Title",
Message: "Pull request title",
Default: inProgress.Title,
},
}
bodyQuestion := &survey.Question{
Name: "body",
Prompt: &survey.Editor{
Message: fmt.Sprintf("PR Body (%s)", editor),
Message: fmt.Sprintf("Pull request body (%s)", editor),
FileName: "*.md",
Default: inProgress.Body,
AppendDefault: true,

View file

@ -37,7 +37,7 @@ type FlagError struct {
var RootCmd = &cobra.Command{
Use: "gh",
Short: "GitHub CLI",
Long: `Do things with GitHub from your terminal`,
Long: `Work with GitHub from your terminal`,
SilenceErrors: true,
SilenceUsage: true,