You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has been in the back of my head for a while, and has been referenced in #28, so I figured I would put my thoughts here.
Right now, all config is handled via a config file, but it would be neat to support all configuration directly as config options as well.
@indirect suggested -h/--host, -p/--port and -b/--bind, which we could expand to all the config options.
Another route I've thought about was along the lines of ssh config. For example, you can run ssh user@host -o Port=22 or ssh user@host -o "Port 22". You can also use all those config in your ssh config file, just like we would support in Gemstash.
Would these command line options override any config found in the configuration file, even if a specific --config-file is provided? I would think yes, the command line should override.
Thoughts?
The text was updated successfully, but these errors were encountered:
This has been in the back of my head for a while, and has been referenced in #28, so I figured I would put my thoughts here.
Right now, all config is handled via a config file, but it would be neat to support all configuration directly as config options as well.
@indirect suggested
-h/--host
,-p/--port
and-b/--bind
, which we could expand to all the config options.Another route I've thought about was along the lines of ssh config. For example, you can run
ssh user@host -o Port=22
orssh user@host -o "Port 22"
. You can also use all those config in your ssh config file, just like we would support in Gemstash.Thus, it might look like this:
Would these command line options override any config found in the configuration file, even if a specific
--config-file
is provided? I would think yes, the command line should override.Thoughts?
The text was updated successfully, but these errors were encountered: