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

stdout communicator #82

Open
GijsTimmers opened this issue Jun 1, 2015 · 1 comment
Open

stdout communicator #82

GijsTimmers opened this issue Jun 1, 2015 · 1 comment

Comments

@GijsTimmers
Copy link
Owner

Maybe some people want to use kotnetcli in quirky ways. We can help those people by providing a stdout communicator for kotnetcli.

cowsay

 _____________________
< Gegevens ingevoerd. >
 ---------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

figlet

 ____                      _                 _      ___   ___ _  __
|  _ \  _____      ___ __ | | ___   __ _  __| |_   / _ \ ( _ |_)/ /
| | | |/ _ \ \ /\ / / '_ \| |/ _ \ / _` |/ _` (_) | (_) |/ _ \ / / 
| |_| | (_) \ V  V /| | | | | (_) | (_| | (_| |_   \__, | (_) / /_ 
|____/ \___/ \_/\_/ |_| |_|_|\___/ \__,_|\__,_(_)    /_/ \___/_/(_)

 _   _       _                 _     _  ___   ___ _  __  
| | | |_ __ | | ___   __ _  __| |_  / |/ _ \ / _ (_)/ /_ 
| | | | '_ \| |/ _ \ / _` |/ _` (_) | | | | | | | |/ /(_)
| |_| | |_) | | (_) | (_| | (_| |_  | | |_| | |_| / /_ _ 
 \___/| .__/|_|\___/ \__,_|\__,_(_) |_|\___/ \___/_/(_|_)
      |_|    
@jovanbulck
Copy link
Collaborator

It seems to me that what we really want here is an easy-to-parse and stable output format to allow easy scripting (as opposed to the PlainTextCommunicator).

Inspired by git internals terminology, I therefore propose to offer a PlumbingCommunicator with a stable dictionary-like output format.

Maybe a successful login output stream could look like:

status=connection_test
status=open_connection
status=waiting_reply
status=succes
upload=value
download=value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants