Skip to content

Go Cli template to use anywhere, add functions and define command than just command go run main.go [your_args]

Notifications You must be signed in to change notification settings

tarikozluk/Go-Cli-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Cli-Template

Go Cli template to use anywhere, add functions and define commands that you need than just command go run main.go [your_args]

The purpose to get TFT data of Riot Games by using cli and thats why I added some go files to test. To get API Key by Riot visit the develoepr site of riot and just request one of them easy to receive.

Installation step of required library

go get -u github.com/spf13/cobra

examples:

go run main.go summoner [Summoner Name] //Name of the user who plays Team Fight Tactics
go run main.go insert plasticsearch apm 
go run main.go create tarik txt
go run main.go create api_logs log
go run main.go --help

examples to get TFT Data:

Coming Soon...

About

Go Cli template to use anywhere, add functions and define command than just command go run main.go [your_args]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages