X Tutup
Skip to content

Commit cc8d55c

Browse files
committed
remove job command, update gh actions text
1 parent 0d0ec84 commit cc8d55c

File tree

6 files changed

+9
-691
lines changed

6 files changed

+9
-691
lines changed

pkg/cmd/actions/actions.go

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

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