Skip to content

irevenko/commands-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Commands Kit πŸ“œ

First Go project using cobra
There are some terminal commands which i've implemented using GoLang

List of commands πŸ“‹

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