feat: setup cli parsing library, return exit code #3

Merged
gk1623 merged 3 commits from cli-setup into master 2025-01-31 16:39:10 +00:00
gk1623 commented 2025-01-31 16:31:47 +00:00 (Migrated from gitlab.doc.ic.ac.uk)
  • changed scala format dialect to scala3 since metals vscode doesn't support scala36

  • simplify type of expectedResult in tests (from (Int) -> Boolean to List(Int))

  • setup scopt for parsing CLI args

  • (carrot mark) return randomly exit code 0, 100 or 200 (let's hope one is correct for each type)

- changed scala format dialect to `scala3` since metals vscode doesn't support `scala36` - simplify type of `expectedResult` in tests (from `(Int) -> Boolean` to `List(Int)`) - setup [scopt](https://github.com/scopt/scopt) for parsing CLI args - (carrot mark) return randomly exit code 0, 100 or 200 (let's hope one is correct for each type)
gk1623 commented 2025-01-31 16:32:31 +00:00 (Migrated from gitlab.doc.ic.ac.uk)

added 1 commit

  • 1a7aebb5 - feat: use cli parsing library and return randomly 0, 100 or 200

Compare with previous version

added 1 commit <ul><li>1a7aebb5 - feat: use cli parsing library and return randomly 0, 100 or 200</li></ul> [Compare with previous version](/lab2425_spring/WACC_37/-/merge_requests/3/diffs?diff_id=144569&start_sha=f8710c105a6bfe57eb18710626950c2af77b41e6)
gk1623 commented 2025-01-31 16:33:57 +00:00 (Migrated from gitlab.doc.ic.ac.uk)

changed the description

changed the description
gk1623 commented 2025-01-31 16:39:09 +00:00 (Migrated from gitlab.doc.ic.ac.uk)

mentioned in commit ef00cf1093

mentioned in commit ef00cf10931b8ca99ed0b33629949fba63d5b0e8
gk1623 (Migrated from gitlab.doc.ic.ac.uk) merged commit ef00cf1093 into master 2025-01-31 16:39:10 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Imperial-MEng/WACC_37#3
No description provided.