An ability to filter the commands based on the routing type
Is your feature request related to a problem? Please describe. We are using both console and custom routing service. Based on the routing type an ability to filter the commands is expected, for e.g. Assume PrintLogRunner is applicable only in console mode so when we launch the terminal app in custom mode the Print Log command should not be available.
Describe the solution you'd like In this scenario an ability to filter the commands based on routing service would be an efficient solution.
Runtime OS: Linux .NET 7.0.2 pi-cli 4.2.4-rc
@Nilavarasi-Ashika, thank you for reporting the issue. Please explain more in your comment, "We are using both console and custom routing service?"
- Do you have 2 terminals, 1 with console routing service and 1 with custom routing service?
- Do you share command runners across multiple terminal applications?
Please also give us an example of how you would want to hide a command from Terminal App 1 and Terminal App 2. Just don't register the command you don't want in the application!
@asperpint based on the mode specified in the command line arguments, terminal gets launched accordingly.
- Do you have 2 terminals, 1 with console routing service and 1 with custom routing service? We are not having two terminals, we are having two modes. Based on mode specified in cli arguments a single terminal gets launched. Both modes are not launched simultaneously.
- Do you share command runners across multiple terminal applications? No, we are not sharing command runners across multiple terminal application.
for e.g. Assume PrintLogRunner is applicable only in console mode so when we launch the terminal app in custom mode the Print Log command should not be available. We are expecting the filtering options in the command registry based on the mode. @ChandramouliShridharan @ameyasubhedarats @VijayakumarKothapalle FYI
@Nilavarasi-Ashika, thanks for the clarification. We do not have a milestone just yet due to other priority items. I will keep you posted here. Adding future tag for now.