Skip to content

A command line interface for checking the surf! 🌊🏄

License

Notifications You must be signed in to change notification settings

yasurfer/swellCLI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swellCLI 🌊🏄

A command line interface for checking the surf!

screenshot

System Requirement:

  • python 3.4+

Install (macOS):

With virtualenv (recommended)

:~/swellCLI $ virtualenv -p python3 venv
:~/swellCLI $ source venv/bin/activate
(venv) :~/swellCLI $ ./install.py

Usage:

$ swell [args]

COMMANDS:

  • [no argument] -- Prompts user to select a location and by default will display the current conditions (unless other flags are specified).
  • [nickname] -- Will display either the current conditions, forecast, or both (depending on specified flags) for the given nickname.
  • spots -- Displays users saved spots by nickname.
  • add -- Prompts user to add/save a new spot to user data store.
  • remove [nickname] -- Removes saved spot from user data store if it is a valid nickname or spot index.
  • reset -- Resets user data store to original state.

FLAGS:

  • -c -- Current conditions
  • -f -- Forecast
  • -h, --help -- Displays manual

'-h' and '--help' are only interpreted if used exclusively. Other flags can be used in combination i.e. -fc, -cf.


Data:

  • Scraped from swellinfo.com

Screenshots:

screenshot

screenshot

screenshot

screenshot

screenshot

About

A command line interface for checking the surf! 🌊🏄

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%