nicoloboschi opened a new pull request, #17651:
URL: https://github.com/apache/pulsar/pull/17651

   ### Motivation
   
   In Pulsar shell you can only update the whole configuration but you can't 
modify it later. For instance, if I import a new config and then I want to 
enable a feature or a property, I need to read the config, copy, modify and 
update.
   My use-case is that I want to enable custom commands in a quick way.
   
   ### Modifications
   
   * Added new command `config update-property -p <prop> -v <value> <config>`
   It updates or creates a new entry in the config. If you modify the current 
config, the shell will reload applying the new config.  
   
   For example, now I can enable a cli extensions directly from the shell:
   ```
   config use my-config
   config update-property -p customCommandsFactories -v <extensionname> 
my-config
   ```
   
   - [x] `doc` 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to