Skip to content

officiallysidsingh/toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toolbox CLI

This CLI is made using golang and cobra library. It contains 2 subpalettes :- info and net

  1. The info subpalette is used to show the disk usage of the current directory in which the command is run.
  2. The net subpallete is used to ping a given url and return a HTTP response code.

Commands :-

  1. toolbox info disk-usage - Tells the disk usage of the current directory in which command is run.
  2. toolbox net -u "" - Pings the given website inside double quotes and returns its http status code. Ex- toolbox net -u "www.google.com"

Settin up the CLI App on Local Machine :-

  1. Download and install the go package in your local machine and set up the path.
  2. Move to the directory of toolbox using cd command and then run go install.
  3. Then run the above given command on windows or "$GOPATH/" on linux or mac.

About

A Golang CLI App Made Using Cobra Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages