Code Monkey home page Code Monkey logo

Comments (3)

github-actions avatar github-actions commented on September 23, 2024

👋 Thanks for opening this issue!

Reply with the following command on its own line to get help or engage:

  • /contributing-agreement : to print Contributing Agreements.
  • /assignme : to assign this issue to you.

from xline.

panwarharsh15 avatar panwarharsh15 commented on September 23, 2024

Hey, i don't understand your issue , can you explain what problem are you facing?

from xline.

Phoenix500526 avatar Phoenix500526 commented on September 23, 2024

Hi, @panwarharsh15 ! Here is an etcdctl watch command example:

./etcdctl watch foo -- sh -c "env | grep ETCD_WATCH_"

# PUT
# foo
# bar
# ETCD_WATCH_REVISION=11
# ETCD_WATCH_KEY="foo"
# ETCD_WATCH_EVENT_TYPE="PUT"
# ETCD_WATCH_VALUE="bar"

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_".

from xline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.