You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "flowchartsman (via GitHub)" <gi...@apache.org> on 2023/09/16 21:35:45 UTC
[GitHub] [pulsar] flowchartsman opened a new issue, #21194: pulsar-shell persistent modes
flowchartsman opened a new issue, #21194:
URL: https://github.com/apache/pulsar/issues/21194
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Motivation
Using pulsar-shell interactively, it's kind of a pain to prefix everything with`admin`. I think it would be nice if the command accepted `admin` and `client` as special commands that put the command into that mode so you didn't need to prefix everything.
### Solution
Allow `admin` and `client`, when passed on their own to enter into admin or client mode respectively, with the addition of one more command `exitmode` to return to the base state. These modes would not persist between sessions.
```
configname(hostname)> admin
configname(hostname) admin> help
Usage: pulsar-admin [options] [command] [command options]
Options:
--admin-url
Admin Service URL to which to connect.
Default: https://pulsar.eks.intel.cs.sys:443
<SNIP>
namespaces Operations about namespaces
Usage: namespaces [options]
configname(hostname) admin>
```
### Alternatives
_No response_
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] pulsar-shell persistent modes [pulsar]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #21194:
URL: https://github.com/apache/pulsar/issues/21194#issuecomment-1773595009
The issue had no activity for 30 days, mark with Stale label.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] pulsar-shell persistent modes [pulsar]
Posted by "jonasgeiregat (via GitHub)" <gi...@apache.org>.
jonasgeiregat commented on issue #21194:
URL: https://github.com/apache/pulsar/issues/21194#issuecomment-1869003675
Seems like a good first issue that I'm willing to tackle! Could you assign it to me?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org