https://github.com/chubbyphp/chubbyphp-clean-directories
A command to clean directories based on directoryName => directoryPath mapping.
https://github.com/chubbyphp/chubbyphp-clean-directories
chubbyphp clean-directories console symfony
Last synced: 6 months ago
JSON representation
A command to clean directories based on directoryName => directoryPath mapping.
- Host: GitHub
- URL: https://github.com/chubbyphp/chubbyphp-clean-directories
- Owner: chubbyphp
- License: mit
- Created: 2020-09-26T09:35:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-12T14:09:42.000Z (11 months ago)
- Last Synced: 2025-03-24T17:52:48.837Z (10 months ago)
- Topics: chubbyphp, clean-directories, console, symfony
- Language: PHP
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chubbyphp-clean-directories
[](https://github.com/chubbyphp/chubbyphp-clean-directories/actions/workflows/ci.yml)
[](https://coveralls.io/github/chubbyphp/chubbyphp-clean-directories?branch=master)
[](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-clean-directories/master)
[](https://packagist.org/packages/chubbyphp/chubbyphp-clean-directories)
[](https://packagist.org/packages/chubbyphp/chubbyphp-clean-directories)
[](https://packagist.org/packages/chubbyphp/chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
## Description
A command to clean directories based on directoryName => directoryPath mapping.
## Requirements
* php: ^8.2
* [symfony/console][2]: ^5.4.47|^6.4.17|^7.2
## Installation
Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-clean-directories][1].
```sh
composer require chubbyphp/chubbyphp-clean-directories "^1.4"
```
## Usage
```php
#!/usr/bin/env php
addCommand(new CleanDirectoriesCommand(['directoryName' => 'directoryPath']));
$console->run($input);
```
```sh
console clean-directories directoryName
```
## Copyright
2025 Dominik Zogg
[1]: https://packagist.org/packages/chubbyphp/chubbyphp-clean-directories
[2]: https://packagist.org/packages/symfony/console