An open API service indexing awesome lists of open source software.

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

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)