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

Improve usability of the ls command #239

Closed
Bzero opened this issue Nov 9, 2023 · 3 comments · Fixed by #248
Closed

Improve usability of the ls command #239

Bzero opened this issue Nov 9, 2023 · 3 comments · Fixed by #248

Comments

@Bzero
Copy link
Contributor

Bzero commented Nov 9, 2023

Currently the ls command seems a bit inconvenient to use for me since it outputs a long, yet a bit sparse list of text requiring a lot of scrolling to find the variable, function or unit I am actually looking for.

To improve I would suggest two changes:

  • Use a multi-column layout to reduce the vertical space a bit and to get an immediate glance on all defined variables/functions.
  • Add subcommands ls variables, ls functions, ls units and ls dimensions to add the possibility to list only variables, functions, units or dimensions, respectively.
@sharkdp
Copy link
Owner

sharkdp commented Nov 9, 2023

Thank you for the feedback — I fully agree!

Use a multi-column layout to reduce the vertical space a bit and to get an immediate glance on all defined variables/functions.

👍

Add subcommands ls variables, ls functions, ls units and ls dimensions to add the possibility to list only variables, functions, units or dimensions, respectfully.

👍

Maybe we can also come up with a syntax to specifically look up length units, for example? Like ls units Length. Because that should be fairly easy to implement as well.

@sharkdp
Copy link
Owner

sharkdp commented Nov 11, 2023

Released in https://github.com/sharkdp/numbat/releases/tag/v1.8.0

@Bzero
Copy link
Contributor Author

Bzero commented Nov 11, 2023

Very nice, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants