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

skate list should not print long strings with newlines #97

Open
ilyagr opened this issue Jul 7, 2024 · 0 comments
Open

skate list should not print long strings with newlines #97

ilyagr opened this issue Jul 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ilyagr
Copy link

ilyagr commented Jul 7, 2024

Is your feature request related to a problem? Please describe.
I stored a shell script with skate set script < script, and now skate list
prints out the full thing.

Describe the solution you'd like
I would print something like:

script  #!/bin/sh\n#script comment\n  (2000 chars omitted)

Describe alternatives you've considered
It could print (string with newlines omitted) instead of trying to preview.

The (omitted binary data) could also mention the length.

charm fs could gain a charm fs write function that is similar to skate set.

(I suppose this FR also applies to charm kv set)

@ilyagr ilyagr added the enhancement New feature or request label Jul 7, 2024
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