All right, so welcome back again. So in the previous session, we saw how to build a simple job tracking CLA, which we used to do some interesting stuff, right? Which was very cool. So I agree that does that help? Everything was working very well. But in case I want to add some beautification to it, or some static stuff to it, how do I do?
So let me explain what I mean. So let's say I want to search for something. So if I go to the theme option, agreed, it's going to mean that no such Command C, sh, right. But I wanted to show so I want the theology to suggest to me, not just the arrow, but suggest to me an option, right? So how do I do that? So using a very nice package call Did you mean as we let alone to just be adding that to realize who installed click did did you meet that the name of the package that you're using to help us with it?
So let's take the see so I'll come back to this by talking my phone is good from Click, click Did you mean input? d y m? group? Right? Did you mean group that is an attribute into help us with that feature? Then I come to my main function by my main go function here.
And I'll pass the last class of Did you mean group? This is a simple code to enable us to work with that particular magic. If I save it, and I come back to the same code that I wrote, same command I run. Now let's write again. If I say did you mean sure so simple to identify that I was searching for the word sweet show this keyword given a particular solution, we are going to see how to add on very something something very simple but very useful, very vocal. I'm not going to trade for something else.
So if I go It sounded like Ed. Did you mean at his job, right, at least able to give us some suggestions that is it for now, let's do some other stuff. So I'll go back to the help as we did. This is quite nice, but I want to add some pieces So how do I do that? So I can also use another package which is called click healthcare this as we learned early on, so let's click on that so I come back to my ci the code itself, then I input that there's going to be from click. Collis right there is a particular site they are trying to add to that option.
A little bit from help. Click help police help law school colors. supposed to help no help alkalis then I'm going to input help command group we have helped color for the group have been a common rice is going to be done in this one would be helped. Color common colors come on. Sorry to mean stuff. Yeah, important to help us with that to want to help us with the coop.
I want to go back to the command because we have already passed in a group for the class here, right? We can pass it, they can pass another function, they can pass something to modify it. So you can either take this on off, they're not passing that particular code to enable us work on that. That is the only way we can work with it. Right. So in that case is going to be our help college group.
Then I'll specify the busy stuff I want to do. So I just want great hope. College soup as we hope it is, here, this header right here, this color in our city to a particular color, they want to make it as yellow. The next one is going to be our help. options. Color is going to give us another color.
Let's make it science why see this one, and I'll come back to this. So this is the plain white one right? 351 the same thing that I did again, with the help as good as I'm cutting Let's do it very, very nice. So this is quite nicer, right? Very, very cool. Very nice.
We have some These are for the headers, yellow and these are for the sorry, these are for day options right? So but we are made up quite useful quite nicer that is what can you so this can only be used here. So because I please when I cannot use the video Did you mean right? So you have to know when to which one of them to sacrifice, but is another option of serving is by coming to the same thing. Copy the same thing here. And instead of putting this one here, you just put it so I'll copy this one off.
Right? Then I'll put the Did you mean the SU CLS Then did you mean the top here but I'll come back to my individual commands here for Come on. Come on, like I just put it here. So this time is no more going to be Hope College equivalent to be helpful this command right? So if I see it here and actually Come back to my code. Perfect so that's the basic idea so I can actually think of this one right click one of them but let's try to see I'll save it and I'll come back to my ci right and then I can run it so if I run it now that that is gone the color is gone because you have taken from the mother did you mean is still working?
So if I run this state, I mean, did you mean is still working, but the color is gone, right? So I can just check with the same thing. The color is almost gone, but it's only four times new documents. If I come back to our job. Our job? Can I go with the help?
Good see the colony? There we go. Now that Kala is working for the individual comments, not for the main comments, right? That's the big idea. So he did a good sacrifice one of them, right? He does like Friday.
Do you mean we just magically get out of this You mean because these comments are not repeated at delete, edit, get it? Right. There are ways to tie different giveaway satellites. shoe suits, because they're all essays, that is when you can use it to do me. And to help you very much. That's something very busy, you can add all of these codes to it to make it quite interesting.
Or you can just omit it. So that's something nice can add to up. Very, very cool to the other side, you can also do that in case we want to get all the help for everything to get every part of the help can also do the commentary as we like to your own. So let's see how to work with that. So in our case, you know, Moby using that to just come up to the top of our file and just do it from our pocket resources. Does the help tree right not just the help take the tree is going to list it perfectly for something like this.
They know they have that idea. So if I come back to this empty we have this fellow retreat, which was trying to do the hierarchy of our commands, right. So how do we suggest use from package resources? Can you just input eita Either with entry points, two entry points, right either entry points, can I use this same entry point to help us with our commentary, right, very simple, very cool. So I can just come back to the same place and we need to go through to get our clip, plugin. So from click, let's go plugins, input with plugins.
So this is going to help us to work on a particular feature. So with this click plugins can add a little plug into your CLR can be developing new plugin new features, we added Nick to your CLR. So let's see how to work with this. Well, I'll come back to the symptom group here. And roughly think of this because we are no more working with it, adding another function there. So we can also allow it to be there and then just go with this option.
Can take it off quarterly beating by let's go with a heart rate which plugins Come on. Dinner Party, my data entry point. And I'm passing the command that I want to be is going to be our click command. So this tip plugin that you're working on, right? So click command tree to see what can I come back to my file. So we want to get something like this.
If I come back and I run it again, it's run up to the help. That's that hope. Hope doesn't give us any arrows because of the code. personality test, I did a tree command, right? So I can actually try on a tree by tying back to the tree. For us, it's going to arrange our code, our commands based on hierarchy.
Very, very cool. So our job, delete job, any job all of them have their different hierarchies. I found it very, very interesting. So this may not be useful but it can be useful if you have a lot of sub commands right. So that is some big stuff you can add the little tin can also control our configuration file to add configuration features to it. So thank you for watching this tutorial.
And thank you for sticking with me for this entire course. I hope you have learned a lot I hope you have masters are interested you can do to build your own custom zeolite tooth. Thank you and I feel an assertion is replaced by