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 arguments to fetch single units of information #12

Open
Notarin opened this issue Dec 20, 2023 · 0 comments
Open

Add arguments to fetch single units of information #12

Notarin opened this issue Dec 20, 2023 · 0 comments
Labels
feature Feature or request
Milestone

Comments

@Notarin
Copy link
Owner

Notarin commented Dec 20, 2023

This is mainly intended for debugging purposes

This entails a command line argument to live fetch the specific unit(s) of information.
Preferably print in simple format to STDOUT.

  • Simple/Single = Simple one line output
  • List = One item per line
  • Simple Table = Single awk parsable line
  • List of Tables = One table per line, awk parsable
  • Complex/Folding Table = Unsure, none exist yet, so this will be revisited when that happens, until then my current thought is it being deserialized

This is not in the "client/server" relationship, it will not communicate with a client or a server, as well as not require or interact with any socket. It will perform a blocking operation that entails looking up the information requested and only the information requested, therefore it will not do a full system information lookup, but rather just the single unit of information requested.
This is purely for debugging/testing purposes, like debugging incorrect information as an end user, or seeing the result of the information without the need of the hayabusa fetch, or, my biggest motivation, being able to communicate with end users about what information is present on their system, e.g. asking a user on a distro/OS what the exact output of distro lookup is, allowing me to add ascii art easier.

@Notarin Notarin added the feature Feature or request label Dec 20, 2023
@Notarin Notarin added this to the v1.0.0 milestone Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature or request
Projects
None yet
Development

No branches or pull requests

1 participant