You can read tutorial about the basics of shell scripting.
Watch my tutorial, how to export your cli.
Here are basics to how to make your own cli.
- Download this project or
git clone https://github.com/xqwtxon/cli
- Modify
cli
file and make it executable usingchmod +x cli
- Export your
cli
file usingbash export cli
- You can now type
cli
without usingbash
! Type onlycli
to your shell! - You can type commands:
cli --version
for example.
-
curl -sL https://raw.githubusercontent.com/xqwtxon/CLI/main/cli.sh -o cli && curl -sL https://raw.githubusercontent.com/xqwtxon/CLI/main/export.sh -o export && chmod +x cli && chmod +x export