Commit graph

18 commits

Author SHA1 Message Date
49b983b5fb [BUGFIX] Sometimes not listening to the linter is the best idea you do 2020-02-29 12:50:37 +01:00
939ec82312 Documentation update 2020-02-29 12:37:17 +01:00
826d262d42 [Breaking Change] Another overhaul of the code
This was made possible by the previous overhaul and cleanup

* Code now uses strings.Builder instead of slices
* Fixed --add-frame flag to only work for PNG
* Moved --format to only work as ?format=
* Added --free-style to replace previous --format functionality
* Added explicit --download flag to download instead of print
* Added explicit --file-name flag to specify a file name to use
* Renamed --extra-information to --export-mode
* Updated the --export-mode with more useful information
2020-02-29 12:17:14 +01:00
d43443f885 Massive rehauling of the code.
* Moved the code away from all the if statements and switches
* Built a better foundation to build upon for future expension
* BUGFIX: Now if windows users want to download a PNG it can be in color
2020-02-29 10:34:00 +01:00
8d086fe7d4 Bumping version to 0.0.5 2020-02-27 00:17:49 +01:00
cea7b560d0 Welcome the --one-liner flag, terminal multiplexer lovers
* Adding a new --one-liner flag that will return the weather on one line
* Updating README with usage and tmux configuration example
2020-02-27 00:15:41 +01:00
2990b13f78 Minor fixup to the README 2020-02-26 20:20:49 +01:00
93a0465234 Version bump to 0.0.4 2020-02-26 20:11:37 +01:00
d256e127cf Feature enhancement: Adding -f/--format
* Adding the --format flag to leave it to the users to format their
queries
* Adding an --extra-information flag to print out some advanced
information
* Variable name change to make it more accurate, it's an affix
2020-02-26 20:07:27 +01:00
202fc60d38 Making use of environment variables and a better README 2020-02-26 19:18:19 +01:00
0d97bc8dcb Making the linter happy 2020-02-26 01:05:18 +01:00
724ffee8e4 Goodbye pflag... Welcome kingpin...
Rehauled the command-line interface with kingpin.v2
2020-02-26 01:01:35 +01:00
49cd6008b4 Code documentation 2020-02-25 22:51:56 +01:00
ae431b71b5 A few code improvements, turns out I didn't need an interface after all.
* Created a proper struct for the weather
* Created methods to the weather struct to handle weather requests
2020-02-25 22:45:50 +01:00
f184474e60
Making our windows friends happy.
Now color is disabled if TERM is not set.
2020-02-19 23:36:38 +01:00
df58715e92 Updating README 2020-02-16 22:24:31 +01:00
3e560032e4 Adding the initial code 2020-02-16 22:09:47 +01:00
b7f24eac37 Initial commit 2020-02-16 21:06:13 +00:00