orhun / binsider

Analyze ELF binaries like a boss 😼🕵️‍♂️
https://binsider.dev/
Apache License 2.0
2.76k stars 61 forks source link

feat(cli): add `--tab` argument #60

Closed josueBarretogit closed 1 month ago

josueBarretogit commented 1 month ago

Description of change

This feature lets user launch binsider from a different tab other than general closes #6

How has this been tested? (if applicable)

running binsider should start at general tab, the default value if you run

binsider --tab hexdump

binsider should be running at hexdump tab

also if you mistype you get this message

❯ binsider --tab hex
error: invalid value 'hex' for '--tab <TAB>'
  [possible values: general, static-analysis, dynamic-analysis, strings, hexdump]

  tip: a similar value exists: 'hexdump'

For more information, try '--help'.
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 3.34%. Comparing base (ad7cca3) to head (24a80af). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/tui/state.rs 0.00% 3 Missing :warning:
src/lib.rs 0.00% 2 Missing :warning:
src/args.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #60 +/- ## ======================================== - Coverage 3.35% 3.34% -0.00% ======================================== Files 19 19 Lines 2392 2399 +7 ======================================== Hits 80 80 - Misses 2312 2319 +7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.