ryansurf / cli-surf

Get surf and ocean data from the command line interface
MIT License
18 stars 29 forks source link

Make shortcuts for arguments #1

Closed ryansurf closed 4 months ago

ryansurf commented 4 months ago

At the moment, there are no shortcuts for the arguments.

For example: curl http://localhost:8000?args=location=new_york,hide_height,hide_wave,show_large_wave

We need to type location=new_york, hide_height, etc.

It would be nice to have shortcuts, like loc= insterad of location=, hw instead of height_waves ect.

This should be done in main.py. Should be easy :)