metarhia / impress

Enterprise application server for Node.js and Metarhia private cloud ⚡
https://metarhia.com
MIT License
969 stars 129 forks source link

Use SSH in Impress CLI #640

Closed tshemsedinov closed 4 years ago

tshemsedinov commented 7 years ago

ssh server will give CLI to RPC @aqrln Do you like this idea?

aqrln commented 7 years ago

If we need a command-line interface to remote methods, there's no point in implementing a shell server. There's nothing special in the shell itself that stops us from implementing it as a totally client-side application and we already have a JSTP server. So what we need is a generic command-line JSTP client.

aqrln commented 7 years ago

What about SSH, it would be nice to make impress-cli work with it. Thus, e.g., impress restart will run locally and impress restart --host metarhia.com will run through SSH.

tshemsedinov commented 7 years ago

@aqrln agreed, having Impress CLI working with JSTP we can do:

tshemsedinov commented 4 years ago

Old CLI will be deprecated in v2.x