Commit graph

40 commits

Author SHA1 Message Date
Elia El Lazkani 6dbc5784df Add renovate.json
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-01-14 20:48:48 +00:00
Elia el Lazkani 8c2797cc82 chore(): Adds checksum to the releases for verification
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2023-07-02 22:12:14 +02:00
Elia el Lazkani e3817dfa47 chore(): Adds gitea release API key
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2023-07-02 21:50:02 +02:00
Elia el Lazkani 96f4ca7e0b chore(): Rearranging the pipeline to build a release properly
Some checks reported errors
continuous-integration/drone/push Build is running
continuous-integration/drone/tag Build was killed
2023-07-02 21:45:22 +02:00
Elia el Lazkani 9939b75bdf chore(): Adds a pipeline based on tagging
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2023-07-02 21:37:43 +02:00
Elia el Lazkani 00d1ef76f3 chore(): Tests building package in parallel
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-02 21:27:25 +02:00
Elia el Lazkani 9e8a2a392f chore(): Adds pipeline dependency 2023-07-02 21:15:27 +02:00
Elia el Lazkani b52312f876 chore(): Reconfigure pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-02 21:14:30 +02:00
Elia el Lazkani ae9cb43294 chore(): Adds go.mod file
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-02 21:05:46 +02:00
Elia el Lazkani 27d3667372 chore(): Adds test pipeline
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-02 21:03:33 +02:00
Elia el Lazkani 4ef54af009 Migrating to the new kingpin Envar() interface 2020-05-06 19:46:10 +02:00
Elia el Lazkani f1ab9a64fb Fixing transparency default value in README 2020-03-07 08:21:24 +01:00
Elia el Lazkani 24f8a92ab4 Version bump to 0.1.3 2020-03-06 20:53:45 +01:00
Elia el Lazkani 7eae3e5464 [BUGFIX] Windows terminals that don't set TERM now properly set
--no-colors by default
2020-03-06 20:52:48 +01:00
Elia el Lazkani ba165eb68c [BUGFIX] Transparency of 0 as default is stupid, let's fix it. 2020-03-06 20:15:46 +01:00
Elia el Lazkani 7c5bf90ced Version bump to 0.1.2 2020-03-01 11:09:36 +01:00
Elia el Lazkani 06ebdfb55b Fixing unittest after the bugfix 2020-03-01 11:08:50 +01:00
Elia el Lazkani 34fd79b312 [BUGFIX] Removing extra quotation added on --format
* Turns out the quotation is a part of "?format=" so it got removed
* Added a nice bonus of replacing spaces in --format with their proper
URL value
2020-03-01 11:07:18 +01:00
Elia el Lazkani 52f25ed46d Version bump to 0.1.1 2020-03-01 02:14:14 +01:00
Elia el Lazkani 0c94a216d9 Adding unittest 2020-03-01 02:13:37 +01:00
Elia el Lazkani bd2dd75169 [BUGFIX] Transparency is now properly set
* Bugfix brought about by writing the unittest
* Headers are now set, to allow user override values (unittest)
* Changes to code to allow unittest
2020-03-01 02:11:58 +01:00
Elia el Lazkani 8c1fb7f177 Version bump to 0.1.0 2020-02-29 12:52:38 +01:00
Elia el Lazkani 49b983b5fb [BUGFIX] Sometimes not listening to the linter is the best idea you do 2020-02-29 12:50:37 +01:00
Elia el Lazkani 939ec82312 Documentation update 2020-02-29 12:37:17 +01:00
Elia el Lazkani 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
Elia el Lazkani 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
Elia el Lazkani 8d086fe7d4 Bumping version to 0.0.5 2020-02-27 00:17:49 +01:00
Elia el Lazkani 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
Elia el Lazkani 2990b13f78 Minor fixup to the README 2020-02-26 20:20:49 +01:00
Elia el Lazkani 93a0465234 Version bump to 0.0.4 2020-02-26 20:11:37 +01:00
Elia el Lazkani 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
Elia el Lazkani 202fc60d38 Making use of environment variables and a better README 2020-02-26 19:18:19 +01:00
Elia el Lazkani 0d97bc8dcb Making the linter happy 2020-02-26 01:05:18 +01:00
Elia el Lazkani 724ffee8e4 Goodbye pflag... Welcome kingpin...
Rehauled the command-line interface with kingpin.v2
2020-02-26 01:01:35 +01:00
Elia el Lazkani 49cd6008b4 Code documentation 2020-02-25 22:51:56 +01:00
Elia el Lazkani 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
Elia el Lazkani f184474e60
Making our windows friends happy.
Now color is disabled if TERM is not set.
2020-02-19 23:36:38 +01:00
Elia el Lazkani df58715e92 Updating README 2020-02-16 22:24:31 +01:00
Elia el Lazkani 3e560032e4 Adding the initial code 2020-02-16 22:09:47 +01:00
Elia el Lazkani b7f24eac37 Initial commit 2020-02-16 21:06:13 +00:00