{"id":28503527,"url":"https://github.com/faisaltheparttimecoder/cf-cli-delete-wrapper-plugin","last_synced_at":"2025-08-18T11:34:23.191Z","repository":{"id":147570673,"uuid":"205731154","full_name":"faisaltheparttimecoder/cf-cli-delete-wrapper-plugin","owner":"faisaltheparttimecoder","description":"A plugin on top of cf cli \"delete\" command that adds extra feature for easy cleanup","archived":false,"fork":false,"pushed_at":"2019-09-03T09:05:09.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T17:08:34.544Z","etag":null,"topics":["cf-cli-plugin","cfcli","delete","delete-multiple","multiple","plugins"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faisaltheparttimecoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-01T20:54:20.000Z","updated_at":"2019-10-08T14:48:19.000Z","dependencies_parsed_at":"2023-05-31T16:15:55.960Z","dependency_job_id":null,"html_url":"https://github.com/faisaltheparttimecoder/cf-cli-delete-wrapper-plugin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/faisaltheparttimecoder/cf-cli-delete-wrapper-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Fcf-cli-delete-wrapper-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Fcf-cli-delete-wrapper-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Fcf-cli-delete-wrapper-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Fcf-cli-delete-wrapper-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faisaltheparttimecoder","download_url":"https://codeload.github.com/faisaltheparttimecoder/cf-cli-delete-wrapper-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Fcf-cli-delete-wrapper-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263934940,"owners_count":23532229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cf-cli-plugin","cfcli","delete","delete-multiple","multiple","plugins"],"created_at":"2025-06-08T17:08:39.917Z","updated_at":"2025-07-06T16:32:47.974Z","avatar_url":"https://github.com/faisaltheparttimecoder.png","language":"Go","readme":"# cf-cli-delete-wrapper-plugin\n\nA cf cli plugin that is a wrapper on top of \"cf delete\" command.\nThis plugin wrapper provides two commands that helps to easy cleanup of apps.\n    \n   1. You can now delete multiple apps via single command\n   2. Command that auto detects the app name from manifest and deletes them\n    \n# Installation\n\nYou can use either of the below method to install the plugin.\n\n**Option 1:** \n\n   1. Download the latest plugin from the [release](https://github.com/faisaltheparttimecoder/cf-cli-delete-wrapper-plugin/releases) section of this repository\n   2. Install the plugin with `cf install-plugin \u003cpath_to_binary\u003e`. Use -f flag to uninstall existing plugin if any and install the new one. \n   \n**Option 2:**\n\nIf you are using MacOS, you could run  \n\n    cf install-plugin -f https://github.com/faisaltheparttimecoder/cf-cli-delete-wrapper-plugin/releases/download/0.1.1/cf-delete-wrapper_v0.1.1.osx\n    \n# Usage\n\n1. **Command:** delete-multi-apps, **Alias:** dma \n    ```\n    $ cf delete-multi-apps --help\n      NAME:\n         delete-multi-apps - Delete multiple apps via a single command\n      \n      ALIAS:\n         dma\n      \n      USAGE:\n         cf delete-multi-apps -a \u003cAPP1\u003e,\u003cAPP2\u003e,....,\u003cAPPn\u003e\n      \n      OPTIONS:\n         -force       -f, no need to prompt for confirmation\n         -app         -a, list of apps to be deleted\n    ```\n\n2. **Command:** delete-app-using-manifest, **Alias:** daum\n    ```\n    $ cf delete-app-using-manifest --help\n    NAME:\n       delete-app-using-manifest - Detect the apps name from manifest and delete it\n    \n    ALIAS:\n       daum\n    \n    USAGE:\n       cf delete-app-using-manifest\n    \n    OPTIONS:\n       -force       -f, no need to prompt for confirmation\n    ```\n    \n# Example\n\n+ To delete multiple at once\n    ```\n    $ cf dma -a test1,test2,test3\n    Are you sure you want to delete these apps (test1,test2,test3), do you wish to continue (Yy/Nn)?: y\n    \n    Successfully deleted the app \"test1\"\n    \n    Successfully deleted the app \"test2\"\n    \n    Successfully deleted the app \"test3\"\n    ```\n\n+ To delete an app that is on the manifest\n    ```\n    $ cat manifest.yml \n      ---\n      applications:\n      - name: customer-test\n    \n    $ cf daum\n    Are you sure you want to delete these apps (customer-test), do you wish to continue (Yy/Nn)?: y\n    \n    Successfully deleted the app \"customer-test\"\n    ```\n\n# Build\n\n```\ngo get github.com/faisaltheparttimecoder/cf-cli-delete-wrapper-plugin/\n-- Modify the code\nrun \"/bin/sh run.sh\" to build package\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaisaltheparttimecoder%2Fcf-cli-delete-wrapper-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaisaltheparttimecoder%2Fcf-cli-delete-wrapper-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaisaltheparttimecoder%2Fcf-cli-delete-wrapper-plugin/lists"}