[
https://issues.apache.org/jira/browse/CASSANDRA-17531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17518266#comment-17518266
]
Jeff Widman commented on CASSANDRA-17531:
-----------------------------------------
Agreed. Having the "guts" of the code in `cassandra/pylib` would make those
guts more easily composable/reusable as a library by others who need slight
variations on cqlsh for CI usecases, etc.
I suspect having a basic `cqlsh.py` python-based entrypoint would be better
than a shell-script-based entrypoint at dogfooding what a library usage would
be like, since it could actually import from the library.
> Refactor python code from bin to pylib
> --------------------------------------
>
> Key: CASSANDRA-17531
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17531
> Project: Cassandra
> Issue Type: Task
> Reporter: Brad Schoening
> Priority: Normal
>
> The cassandra/bin directory consists of only executable shell scripts, except
> for 2000+ lines of Python code in cqlsh.py. This code would be reuseable if
> refactored to cassandra/pylib.
> We may wish to retain a minimal runner cqlsh.py or simply use the cqlsh shell
> script.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]