Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Targets: Add setTarget for Rapid Management #67

Open
zvikazend opened this issue Jun 29, 2015 · 0 comments
Open

Using Targets: Add setTarget for Rapid Management #67

zvikazend opened this issue Jun 29, 2015 · 0 comments

Comments

@zvikazend
Copy link
Contributor

When you run commands on specific target, you execute commands like:
zs-client.sh --target= <--params 1,2,3>
or
zs-client.sh <--params 1,2,3> --target=

To quickly work with direct command + params patterns on a single target at a time,
a command like 'setTarget ' can be used, which will set the default target for all consequent commands.

Notes:

  1. Using --target in a command will override default / pre-set target.
  2. If default target should be unset, just run 'zs-client setTarget' or 'zs-client setTarget=' to unset.
  3. When a default target is set, zs-client will show the used target on every execution, with full target details, so there is no question where the command is going to be executed, i.e.:
    Using Target: 'My Cluster' => http://my-cluster.com:10081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants