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

Add CLI utility to aid in interactive connection to the Zino server socket #264

Open
runborg opened this issue Jun 21, 2024 · 2 comments
Open
Labels
enhancement New feature or request post-zino2.0 These are features Zino1 does not have, but might be desired later

Comments

@runborg
Copy link

runborg commented Jun 21, 2024

The original zino code includes a cli utility that connects you to zino, authenticates using your stored credentials and gives you a direct shell for running the legacy api.
It would be nice to get this tool converted to the new codebase

the original code is located inside the original zino1 repo in zino/ritz/cli.tcl

@runborg
Copy link
Author

runborg commented Jun 21, 2024

This utility does not need to be a direct copy of the original, but coould be eg. a more interactive python shell that gives you access to the data..
even also maybe zinolib?
but the user needs to be able to execute arbitrary commands on the server and get the data before any processing is done on it.

@stveit
Copy link
Contributor

stveit commented Jun 21, 2024

I recently made a simple Expect script that automates connecting to the legacy API (the whole hashing thing) then hands over control to interact with the API normally. It currently takes hostname, port, username and password as arguments. What you describe already existing in original zino sounds very similar 😛

Not sure if theres any benefit to using my script over the original one, but its atleast easy to give arguments. I could send you the script if youre interested

@lunkwill42 lunkwill42 added enhancement New feature or request post-zino2.0 These are features Zino1 does not have, but might be desired later labels Jul 9, 2024
@lunkwill42 lunkwill42 changed the title Cli utillity connecting to zino server socket. Add CLI utility to aid in interactive connection to the Zino server socket Nov 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 post-zino2.0 These are features Zino1 does not have, but might be desired later
Projects
None yet
Development

No branches or pull requests

3 participants