Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add client cli tool #110

Merged
merged 9 commits into from
Jan 18, 2024
Merged

Add client cli tool #110

merged 9 commits into from
Jan 18, 2024

Conversation

abeltrano
Copy link
Contributor

@abeltrano abeltrano commented Jan 17, 2024

Type

  • Bug fix
  • Feature addition
  • Feature update
  • Documentation
  • Build Infrastructure

Side Effects

  • Breaking change
  • Non-functional change

Goals

  • Enable ad-hoc testing from the command-line.

Technical Details

  • Add static library exposing command-line parsing and processing.
  • Add linux binary netremote-cli that supports enumerating wi-fi access points (netremote-cli --server localhost:5048 wifi enumaps).

Test Results

  • Validated cli tools connects to a remote service and executes the command to enumerate wifi aps.

Reviewer Focus

  • None

Future Work

  • When required arguments aren't specified, the program segfaults despite catching the exception that's being thrown by CLI11. This needs to be understood and fixed.
  • Additional commands corresponding to existing APIs need to be implemented.

Checklist

  • Build target all compiles cleanly.
  • clang-format and clang-tidy deltas produced no new output.
  • Newly added functions include doxygen-style comment block.

@abeltrano abeltrano marked this pull request as ready for review January 18, 2024 08:41
@abeltrano abeltrano requested a review from a team as a code owner January 18, 2024 08:41
@abeltrano abeltrano changed the title Add client cli tool. Add client cli tool Jan 18, 2024
@abeltrano abeltrano merged commit 2e96a67 into develop Jan 18, 2024
5 checks passed
@abeltrano abeltrano deleted the clientcli branch January 18, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant