Jan Danielzick BodgeMaster
Loading Heatmap…

BodgeMaster pushed to master at BodgeMaster/FOSS-VG

  • 2cbf048f2e lib/cli: make flags return more accurate error codes

2022-07-17 12:10:31 +02:00

BodgeMaster commented on issue BodgeMaster/FOSS-VG#27

lib/cli: unit tests

TODO-list of remaining unit tests: - [ ] unknown flags (standalone) - [ ] unknown flags (mixed with other input) - [ ] unknown unpositional argument (standalone) - [ ] unknown unpositional…

2022-07-15 19:54:06 +02:00

BodgeMaster pushed to master at BodgeMaster/FOSS-VG

  • 4ceaca745b test/cli_argument_parser: notes outlining what additional tests are needed
  • db6e543c5c test/cli_argument_parser: add a test for dealing with "empty" command lines
  • 8835b90398 test/cli_argument_parser: rename everything to have nice long descriptive names
  • Compare 3 commits »

2022-07-15 19:49:11 +02:00

BodgeMaster commented on issue BodgeMaster/FOSS-VG#31

lib/cli: automatically add help and license flags

This could include a macro that constructs `ArgumentsParser` and automatically checks for these two flags.

2022-07-15 13:57:44 +02:00

BodgeMaster pushed to master at BodgeMaster/FOSS-VG

  • efa4fa560e tools/hexnet: replace built-in argument parser with lib/cli
  • 4c3d2fdbbf lib/cli: ArgumentsParser constructor can accept both char** and const char**
  • 3b1d288d1e test/cli_argument_parser add an assertion to the valid input test that expects the value of unpositional arguments that are not present to be ""
  • 362ec5f4f9 Build system: symlink dependency libs to bin/lib
  • Compare 4 commits »

2022-07-15 13:55:32 +02:00

BodgeMaster closed issue BodgeMaster/FOSS-VG#28

tools/hexnet: use arguments parser in cli lib

2022-07-15 13:41:16 +02:00

BodgeMaster pushed to master at BodgeMaster/FOSS-VG

  • b18a97713d test/cli_argument_parser: fix using delete instead of delete[] on pointer array

2022-07-15 11:48:24 +02:00

BodgeMaster commented on issue BodgeMaster/FOSS-VG#27

lib/cli: unit tests

Unit test for valid input has been implemented. Now we need unit tests that try to break things in all sorts of ways.

2022-07-15 11:39:59 +02:00

BodgeMaster pushed to master at BodgeMaster/FOSS-VG

2022-07-15 11:33:50 +02:00

BodgeMaster opened issue BodgeMaster/FOSS-VG#31

lib/cli: automatically add help and license flags

2022-07-15 05:12:50 +02:00

BodgeMaster opened issue BodgeMaster/FOSS-VG#30

lib/cli: help text generator

2022-07-15 05:09:10 +02:00

BodgeMaster opened issue BodgeMaster/FOSS-VG#29

lib/cli: convenient to use way of preparing all the flags and arguments

2022-07-14 05:50:42 +02:00

BodgeMaster commented on issue BodgeMaster/FOSS-VG#25

Tools: Unit tests for hexnet

not relevant anymore because the arguments parser will be replaced with lib/cli and unit tests for the hexnet tool itself are being tracked on the other issue

2022-07-14 05:37:21 +02:00

BodgeMaster closed issue BodgeMaster/FOSS-VG#25

Tools: Unit tests for hexnet

2022-07-14 05:37:21 +02:00

BodgeMaster opened issue BodgeMaster/FOSS-VG#28

tools/hexnet: use arguments parser in cli lib

2022-07-14 05:34:17 +02:00

BodgeMaster commented on issue BodgeMaster/FOSS-VG#27

lib/cli: unit tests

arguments parser is implemented, unit tests needed

2022-07-14 05:28:02 +02:00

BodgeMaster pushed to master at BodgeMaster/FOSS-VG

2022-07-14 05:00:52 +02:00

BodgeMaster pushed to master at BodgeMaster/FOSS-VG

  • e6f4884b60 lib/error: finally removed that useless cpp file
  • 91f3dfaa5e lib/cli: Add a library for command line arguments parsing
  • 7e049fcfd1 lib/error: rename and add error constants
  • c406555e4e tools/hexnet: argument parser fix
  • 5cb1a52ec4 tools/hexnet: replace "server" with "listen" because that's what netcat calls it and the argument we use is -l like netcat's listen mode
  • Compare 6 commits »

2022-07-14 03:19:05 +02:00

BodgeMaster opened issue BodgeMaster/FOSS-VG#27

lib/cli: Build a proper arguments parser

2022-07-14 02:01:41 +02:00

BodgeMaster pushed to master at BodgeMaster/FOSS-VG

2022-07-13 15:53:03 +02:00