Skip to content

A CLI application built with Go, created so you can check the weather no matter the directory you are working in.

Notifications You must be signed in to change notification settings

jaynopponep/cli-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Weather updates for developers!

A CLI application built with Go, created so you can check the weather no matter the directory you are working in.

Demo

cliweather

Installation Instructions:

Make sure to:

Install Go: https://go.dev/doc/install

MacOS

  1. Change current directory to weather
  2. Build the executable:
go build -o weather
  1. Move executable to bin:
sudo mv weather /usr/local/bin/
  1. Double check PATH:
export PATH=$PATH:/usr/local/bin
  1. Apply changes:
source ~/.zshrc

How to use:

Simply call the app with 'weather', followed by a zipcode or city
Examples:
weather columbus_ohio
weather 10029

Windows

  1. Change current directory to weather
  2. Build the executable
go build -o weather.exe
  1. Make custom directory for executable
mkdir C:\Users\{your-username-here}\bin
  1. Move executable to directory
move weather.exe C:\Users\{your-username-here}\bin
  1. Add directory to PATH manually
- Search for 'edit the system environment variables' or 'PATH'
- Click 'Environment Variables'
- Click 'Path' in User variables, then click Edit
- Create new environment variable, and insert the directory you made in step 4

You should be able to use the executable weather from any directory on your computer

How to use:

Simply call the app with 'weather', followed by a zipcode or city
Examples:
weather columbus_ohio
weather 10029

Linux

-WIP

About

A CLI application built with Go, created so you can check the weather no matter the directory you are working in.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages