Skip to content

Conversation

@shimeoki
Copy link
Contributor

most of the changes are in the commit descriptions, but briefly it just a rework of ani-cli completions. there were some outdated (or just non-existent from the start) parameters, some errors and i didn't like the styling. while at it, i added more functionality to the completions, examples and remaining options.

shimeoki added 11 commits July 25, 2025 23:15
nushell provides convenient syntax for this
usage of words in plural is my liking, but camel case shouldn't be
used anyway
styling of the parameters is done like the help menu of the ani-cli
itself. imo it's more convenient to read and edit. also it's less than
80 symbols in width for the terminal.
some of them are just non-existent (i couldn't find them either in man
page or help output). it's pretty important, because if the option
doesn't exist, then the script will not output an error, but silently
ignore it and use this option as the part of the query.
with that, change the command description to official man description.
and add query parameter name.
bring parameters with completions to the top for easy eye access for the
functions. then non-boolean parameters and parameters with shorthand
syntax. and everything else that remains.
sorry to the previous contributors, but first comment is treated as the
description for the module. also, contributors history can be viewed in
the repository.

as for the indent: sorry, but i like 4 spaces more.
maybe it's too much for a simple extern module for one command, and also
not so good on performance, but i think a little bit of that extra
functionality can be more useful
because ani-cli parses the query this way (found while making examples)
@fdncred
Copy link
Contributor

fdncred commented Jul 26, 2025

Thanks

@fdncred fdncred merged commit f7af068 into nushell:main Jul 26, 2025
1 check passed
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.

2 participants