Skip to content

Commit

Permalink
Merge branch 'v2' into asciiator
Browse files Browse the repository at this point in the history
  • Loading branch information
manparvesh authored Oct 18, 2024
2 parents a50d779 + eb9fdf8 commit 9de3f02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/yodapa/plugins/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
Example:
$ yoda weather get_weather "New York" // New York is an example, replace with desired location
$ yoda weather get "New York"
// New York is an example, replace with desired location
""")

@app.command()
@app.command(name="get")
def get_weather(location):
location_id = location.strip().replace(" ", "+")

Expand Down

0 comments on commit 9de3f02

Please sign in to comment.