This cf cli plugin allows users to search for application names that contain the given search string. This plugin is implemented following the basic plugin provided by cloud foundry documentation.
- Install Go
- Clone plugin source code
git clone https://github.com/jaisonjose89m/cf-cli-find-app-plugin.git
- Build plugin
- Move to
cf-cli-find-app-plugin
folder and executego build .
- Move to
- Install plugin
cf install-plugin <plugin_binary_path> -f
cf find-app <search_string>
Note: search_string
should be a simple string. The plugin is not able to perform pattern matching with regex yet.
Example:
cf find-app webservice
Output:
[Name:"abcwebservice", State:"STARTED"]
[Name:"webserviceoq", State:"STARTED"]