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

Implementation of `tt connect' #51

Merged
merged 8 commits into from
Apr 20, 2022
Merged

Implementation of `tt connect' #51

merged 8 commits into from
Apr 20, 2022

Conversation

LeonidVas
Copy link
Collaborator

@LeonidVas LeonidVas commented Apr 19, 2022

Implementation of the tt connect module.

cli/util/util.go Outdated Show resolved Hide resolved
cli/connector/connector.go Outdated Show resolved Hide resolved
cli/connect/console.go Outdated Show resolved Hide resolved
The minimum required part of the connect module from the
cartridge-cli (https://github.com/tarantool/cartridge-cli) was copied
without any changes.

Part of #15
@Totktonada Totktonada linked an issue Apr 19, 2022 that may be closed by this pull request
As far as the module has been copied from cartridge-cli without any
changes, this patch has the following targets:
* add a description for public methods
* remove unneeded code
* squash similar part of code

Part of #15
The patch adds `eval` functionality to the connect module.
Now, if code has been passed in by a command, it will be
executed on the instance and the result (in YAML format) will
be returned to `stdout`.

Part of #15
The patch adds a workaround for the bug "Terminal does
not display command after go-prompt exit"
(c-bata/go-prompt#228).

Part of #15
The patch adds information about `tt connect` module
to CHANGELOG and README.

Follow-up #15
@LeonidVas LeonidVas merged commit 0a893e2 into master Apr 20, 2022
@LeonidVas LeonidVas deleted the lvasiliev/gh-15-connect branch April 20, 2022 07:26
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.

tt connect
2 participants