Commit Graph

14 Commits

Author SHA1 Message Date
a3137e5276
Refactor rock, paper, scissors 2022-09-14 08:34:51 -05:00
49000133d8
Return empty args slice is the argument is an empty string 2022-09-09 10:22:08 -05:00
446ac616bf
Fix lint errors
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-07 00:54:58 -05:00
139b32094e
Specify number of splits to make for command arguments
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-09-06 10:43:30 -05:00
f3145d8c1d
Fix test name typo 2022-09-06 08:35:44 -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
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
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