Commit Graph

15 Commits

Author SHA1 Message Date
0f25b75fe4
Add forgotten imports
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-09-05 15:14:42 -05:00
d3b95c693b
Add test for SplitCommandAndArgs
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-05 13:03:47 -05:00
043738668b
Add new implementation of HasCommand 2022-09-05 13:03:02 -05:00
579921a975
s/HasCommand/ContainsCommand/g
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-05 12:54:56 -05:00
9b33684d60
HasCommand() should detect an invalid command when it has arguments 2022-09-04 08:51:01 -05:00
cd46fcb60d
Add a first test 2022-09-04 08:50:43 -05:00
6a389be6a7
Add helper to split the command and arguments
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-01 09:26:23 -05:00
35c72daff4
Trim spaces 2022-09-01 09:25:59 -05:00
53a6efa13e
weather: Use variables for error messages 2022-08-28 18:34:14 -05:00
7d071ebe0b
Move OpenWeatherMap code to a separate struct 2022-08-28 09:44:35 -05:00
424b191ebc
Fix HasCommand()
It was not working if the command had an argument
2022-08-26 17:55:51 -05:00
ce689146de
Reorganize packages 2022-08-24 09:06:00 -05:00
547063de2e
Move handlers to their own package 2022-08-23 13:25:44 -05:00
2674645475
SeedMathRand should return an error 2022-08-04 11:14:35 -05:00
4e69e241dd
Seed math/rand more efficiently 2022-08-03 23:28:07 -05:00