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 raw data to commands' outputs #35

Open
Supinic opened this issue Feb 28, 2023 · 0 comments
Open

Add raw data to commands' outputs #35

Supinic opened this issue Feb 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Supinic
Copy link
Owner

Supinic commented Feb 28, 2023

Long term functionality proposal

It would be quite nice to have "raw data" as a result from commands. Right now, the only way to extract any data from a command being used is to parse it out of the reply string with regular expressions and such.

If each command would return a wrapper of data all related to the execution, creating custom command chains and pipes would be a lot easier.

This discussion follows from since-archived SPM repository. For more info or context, check here: Supinic/supibot-package-manager#90

Discussed with @2547techno and @NotNotQuinn

@Supinic Supinic added the enhancement New feature or request label Aug 24, 2023
Supinic pushed a commit that referenced this issue Oct 19, 2023
* use await import to import the `got` module
* bump `got` module to latest version
* removed `UnsupportedProtocolError` as it can no longer be used
* changed syntax to import/use `got` module
* renamed `GotError` to `RequestError`
Supinic pushed a commit that referenced this issue Oct 19, 2023
* use await import to import the `got` module
* bump `got` module to latest version
* removed `UnsupportedProtocolError` as it can no longer be used
* changed syntax to import/use `got` module
* renamed `GotError` to `RequestError`
Supinic pushed a commit that referenced this issue Oct 19, 2023
* use await import to import the `got` module
* bump `got` module to latest version
* removed `UnsupportedProtocolError` as it can no longer be used
* changed syntax to import/use `got` module
* renamed `GotError` to `RequestError`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant