[go: up one dir, main page]

0% found this document useful (0 votes)
5 views3 pages

Copilotpart 5

The document discusses the GitHub Copilot CLI, emphasizing its terminal extension and the potential confusion with other GitHub Copilot CLIs. It explains how the 'gh copilot suggest' command works by converting natural language prompts into commands and highlights the 'explain' feature that provides clarity on complex commands before execution. The overall focus is on automating DevOps and streamlining GitOps workflows.

Uploaded by

jamesryanpt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Copilotpart 5

The document discusses the GitHub Copilot CLI, emphasizing its terminal extension and the potential confusion with other GitHub Copilot CLIs. It explains how the 'gh copilot suggest' command works by converting natural language prompts into commands and highlights the 'explain' feature that provides clarity on complex commands before execution. The overall focus is on automating DevOps and streamlining GitOps workflows.

Uploaded by

jamesryanpt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1

00:00:07,001 --> 00:00:08,007


- [Instructor] Yeah, well, I’ve gone over them,

2
00:00:08,007 --> 00:00:11,008
but first I want to bring out my whiteboard tool here.

3
00:00:11,008 --> 00:00:13,006
And don’t get confused.

4
00:00:13,006 --> 00:00:16,001
The exam objective here is talking about

5
00:00:16,001 --> 00:00:17,009
GitHub Copilot in the CLI.

6
00:00:17,009 --> 00:00:19,003
This is a marketing thing,

7
00:00:19,003 --> 00:00:22,009
and I’m going to rant just a little, if you don’t mind.

8
00:00:22,009 --> 00:00:25,009
This is the terminal extension to the GitHub CLI.

9
00:00:25,009 --> 00:00:29,000
Now you’ll find that out in the world

10
00:00:29,000 --> 00:00:31,004
there are other GitHub Copilot CLIs.

11
00:00:31,004 --> 00:00:34,000
And particularly there’s a Node package

12
00:00:34,000 --> 00:00:35,009
called GitHub Copilot CLI.

13
00:00:35,009 --> 00:00:37,005
Yeah, it’s confusing.

14
00:00:37,005 --> 00:00:39,003
Just wanted to say that.
15
00:00:39,003 --> 00:00:42,008
So gh copilot suggest converts your natural language.

16
00:00:42,008 --> 00:00:44,006
You pass in your prompt using,

17
00:00:44,006 --> 00:00:48,006
I use single or double quotes as your string delimiter.

18
00:00:48,006 --> 00:00:50,000
And it’s as simple as that.

19
00:00:50,000 --> 00:00:52,001
Explain will break down and explain

20
00:00:52,001 --> 00:00:55,003
a potentially complex command before it’s executed.

21
00:00:55,003 --> 00:00:57,005
That’s actually a good use case.

22
00:00:57,005 --> 00:00:59,007
You might have received a command

23
00:00:59,007 --> 00:01:01,007
and just want a little more assurance.

24
00:01:01,007 --> 00:01:04,008
What does this actually do before you hit go?

25
00:01:04,008 --> 00:01:06,008
I can definitely see that.

26
00:01:06,008 --> 00:01:08,001
We’re automating DevOps,

27
00:01:08,001 --> 00:01:10,008
we’re streamlining our GitOps workflows,

28
00:01:10,008 --> 00:01:13,002
we’re clarifying unknown commands.

29
00:01:13,002 --> 00:01:15,000
Good stuff.

You might also like