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

Cleanup our code a little #141

Merged
merged 10 commits into from
Jun 25, 2024
Merged

Cleanup our code a little #141

merged 10 commits into from
Jun 25, 2024

Conversation

skx
Copy link
Owner

@skx skx commented Jun 25, 2024

This is a bit of a "cleanup" PR:

  • Update our CLI arguments:
    • Rename "syscalls" to be -list-syscalls.
    • Rename "ccps" to be "-list-ccp".
    • Add -list-console-drivers.
    • Drop the quiet-flag.
  • Stop passing the logging-handle everywhere.
  • Add some more test-cases.

skx added 5 commits June 25, 2024 17:06
* Rename "syscalls" to be -list-syscalls.
* Rename "ccps" to be "-list-ccp".
* Add -list-console-drivers.

Also updated the constructor for the CPM package to drop the logger,
we can use `slog.SetDefault` to avoid passing the handle around.
@skx skx changed the title Cleanup our CLI arguments a little Cleanup our code a little Jun 25, 2024
@skx skx merged commit b6a172a into master Jun 25, 2024
2 checks passed
@skx skx deleted the cleanup branch June 25, 2024 17:20
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