It would be nice to be able to interface with gSTM
using command line options. This would enable gSTM to
manage tunnels from shell scripts etc. The basic
interface could be along these lines:
$ gstm --start "My Tunnel" # --start could be
ommitted as the default
$ gstm --stop "My Tunnel"
More than one tunnel could be managed at the same time...
$ gstm --start "My Tunnel" "My other tunnel" --stop
When calling gSTM from a shell script a GUI would most
likely not be required:
$ gstm --no-windows --start "My Tunnel"
In this 'no windows' mode, it would be good if gSTM
could return a status code and, depending on the
implementation, either go into the background or exit.
Log in to post a comment.