[
https://issues.apache.org/jira/browse/CASSANDRA-20794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18112696#comment-18112696
]
Rishabh Saraswat edited comment on CASSANDRA-20794 at 9/8/26 12:34 PM:
-----------------------------------------------------------------------
[~smiklosovic] [~mmuzaf] I have updated the PR.
moved file to tools/autocomplete
created a helper file .build/header.txt which has licence text, which will be
prepended to the generated file
added the new file to debian/cassandra-tools.install
added a new target check-autocomplete as per [~mmuzaf]'s suggestion not sure
how to put that in the CI pipeline (is putting that in CI pipeline covered by
scope of this ticket?)
The earlier testing as in PR's description still holds.
was (Author: JIRAUSER311726):
[~smiklosovic] [~mmuzaf] I have updated the PR.
moved file to tools/autocomplete
created a helper file .build/header.txt which has licence text, which will be
prepended to the generated file
added the new file to debian/cassandra-tools.install
The earlier testing as in PR's description still holds.
> Generate autocompletion scripts for the nodetool command during the build
> -------------------------------------------------------------------------
>
> Key: CASSANDRA-20794
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20794
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Build
> Reporter: Maxim Muzafarov
> Assignee: Rishabh Saraswat
> Priority: Normal
> Fix For: 7.x
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> All picocli-based applications can have command line completion in Bash or
> ZSH Unix shells. Picocli can generate an autocompletion script tailored to
> your application.
> It may be useful to generate your completion scripts automatically during the
> build.
> See the details below:
> https://picocli.info/autocomplete.html#_generating_completion_scripts_during_the_build
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]