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
The etcdctl provides the exec-command arg for the watch command. Therefore, when you want to execute some commands after triggered by watch command, you can use one-line command, like ./etcdctl watch foo -- sh -c "env | grep ETCD_WATCH_". I think this way is more user-friendly.
So far, the xlinectl doesn't support the exec command args for the watch command. I think it's not hard to implement. I leave an issue here to track. Please feel free to take this issue if you are interested in it. And please let me know if you need any help or more information.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
We can split this command ./etcdctl watch foo -- sh -c "env | grep ETCD_WATCH_" by -- into two parts: one is ./etcdctl watch foo, and the other part is a shell command: env | grep ETCD_WATCH_". It indicates that execute the watch command ./etcdctl watch foo and perform the shell command env | grep ETCD_WATCH_ when the watch command is triggered.
And currently, the watch sub-command in xlinectl doesn't support this way. We can only perform xlinectl watch foo without -- sh -c "env | grep ETCD_WATCH_".
Description about the feature
The etcdctl provides the exec-command arg for the watch command. Therefore, when you want to execute some commands after triggered by watch command, you can use one-line command, like
./etcdctl watch foo -- sh -c "env | grep ETCD_WATCH_"
. I think this way is more user-friendly.So far, the xlinectl doesn't support the exec command args for the watch command. I think it's not hard to implement. I leave an issue here to track. Please feel free to take this issue if you are interested in it. And please let me know if you need any help or more information.
Code of Conduct
The text was updated successfully, but these errors were encountered: