https://github.com/irevenko/commands-kit
📜 A Divers Set of Command Line Tools
https://github.com/irevenko/commands-kit
cli cli-app cmd cobra cobra-library command-line command-line-app command-line-tool commandline go golang ip terminal-app terminal-based tty tty-prompt
Last synced: 3 months ago
JSON representation
📜 A Divers Set of Command Line Tools
- Host: GitHub
- URL: https://github.com/irevenko/commands-kit
- Owner: irevenko
- License: mit
- Created: 2020-03-28T10:47:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T21:11:21.000Z (over 4 years ago)
- Last Synced: 2023-03-09T00:36:16.033Z (over 2 years ago)
- Topics: cli, cli-app, cmd, cobra, cobra-library, command-line, command-line-app, command-line-tool, commandline, go, golang, ip, terminal-app, terminal-based, tty, tty-prompt
- Language: Go
- Homepage:
- Size: 136 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Commands Kit 📜
First Go project using [cobra](https://github.com/spf13/cobra)
There are some terminal commands which i've implemented using GoLang# List of commands 📋
* [myip](#myip- "Goto #myip-🌐")
* [encrypt](#encrypt- "Goto #encrypt-🔒")
* [decrypt](#decrypt- "Goto #decrypt-🔓")
* [pokemon](#pokemon- "Goto #pokemon-🎱")
* [cat](#cat- "Goto #cat-🐱")
* [chars_count](#chars_count- "Goto #chars_count-🅱️")
* [words_count](#words_count- "Goto #words_count-🆎")
* [mkdir](#mkdir- "Goto #mkdir-📂")
* [touch](#touch- "Goto #touch-📄")
* [pwd](#pwd- "Goto #pwd-🗃")
* [rm](#rm- "Goto #rm-❌")# myip 🌐
Check your IP settings with this command
Basically it sends GET request to ipinfo.io# encrypt 🔒
Encrypt your data with this command
Using AES algo# decrypt 🔓
Decrypt an AES string
Using AES algo# pokemon 🎱
Returns random pokemon and it's data# cat 🐱
Reads text files# chars_count 🅱️
Counts chars# words_count 🆎
Counts words# mkdir 📂
Creates directory# touch 📄
Creates file# pwd 🗃
Prints current working directory# rm ❌
Deletes files or directories# Preview 🔍
# What I Learned 🧠
* How to send GET request
* Error handling in Go
* AES crypt algo# ToDo
* Rearrange Preview to actual command desc
* Fix main func problem
* Add more commands# License 📑
(c) 2020 Ilya Revenko. [MIT License](https://tldrlegal.com/license/mit-license)