X Tutup
Skip to content

Commit 9fe7326

Browse files
author
Nate Smith
authored
Merge pull request cli#3338 from cli/merge-job-run-view
absorb job view into run view
2 parents 658004a + cc8d55c commit 9fe7326

File tree

11 files changed

+376
-724
lines changed

11 files changed

+376
-724
lines changed

pkg/cmd/actions/actions.go

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -46,34 +46,16 @@ func actionsRun(opts ActionsOptions) {
4646
4747
%s
4848
gh run list: List recent workflow runs
49-
gh run view: View details for a given workflow run
49+
gh run view: View details for a workflow run or one of its jobs
50+
gh run watch: Watch a workflow run while it executes
51+
gh run rerun: Rerun a failed workflow run
5052
5153
%s
52-
gh job view: View details for a given job
54+
gh workflow list: List all the workflow files in your repository
55+
gh workflow enable: Enable a workflow file
56+
gh workflow disable: Disable a workflow file
57+
gh workflow run: Trigger a workflow_dispatch run for a workflow file
5358
`,
54-
cs.Bold("Working with runs"),
55-
cs.Bold("Working with jobs within runs")))
56-
/*
57-
fmt.Fprint(opts.IO.Out, heredoc.Docf(`
58-
Welcome to GitHub Actions on the command line.
59-
60-
%s
61-
gh workflow list: List workflows in the current repository
62-
gh workflow run: Kick off a workflow run
63-
gh workflow init: Create a new workflow
64-
gh workflow check: Check a workflow file for correctness
65-
66-
%s
67-
gh run list: List recent workflow runs
68-
gh run view: View details for a given workflow run
69-
gh run watch: Watch a streaming log for a workflow run
70-
71-
%s
72-
gh job view: View details for a given job
73-
gh job run: Run a given job within a workflow
74-
`,
75-
cs.Bold("Working with workflows"),
76-
cs.Bold("Working with runs"),
77-
cs.Bold("Working with jobs within runs")))
78-
*/
59+
cs.Bold("Interacting with workflow runs"),
60+
cs.Bold("Interacting with workflow files")))
7961
}

pkg/cmd/job/job.go

Lines changed: 0 additions & 22 deletions
This file was deleted.

pkg/cmd/job/view/http.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

pkg/cmd/job/view/view.go

Lines changed: 0 additions & 242 deletions
This file was deleted.

0 commit comments

Comments
 (0)
X Tutup