Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-10T20:01:07.000Z (3 months ago)
- Last Synced: 2024-09-30T17:21:36.254Z (about 2 months ago)
- Topics: chubbyphp, clean-directories, console, symfony
- Language: PHP
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chubbyphp-clean-directories
[![CI](https://github.com/chubbyphp/chubbyphp-clean-directories/actions/workflows/ci.yml/badge.svg)](https://github.com/chubbyphp/chubbyphp-clean-directories/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/chubbyphp/chubbyphp-clean-directories/badge.svg?branch=master)](https://coveralls.io/github/chubbyphp/chubbyphp-clean-directories?branch=master)
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fchubbyphp%2Fchubbyphp-clean-directories%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-clean-directories/master)
[![Latest Stable Version](https://poser.pugx.org/chubbyphp/chubbyphp-clean-directories/v)](https://packagist.org/packages/chubbyphp/chubbyphp-clean-directories)
[![Total Downloads](https://poser.pugx.org/chubbyphp/chubbyphp-clean-directories/downloads)](https://packagist.org/packages/chubbyphp/chubbyphp-clean-directories)
[![Monthly Downloads](https://poser.pugx.org/chubbyphp/chubbyphp-clean-directories/d/monthly)](https://packagist.org/packages/chubbyphp/chubbyphp-clean-directories)[![bugs](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=bugs)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![code_smells](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=code_smells)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![coverage](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=coverage)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![duplicated_lines_density](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![ncloc](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=ncloc)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![sqale_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![alert_status](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=alert_status)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![reliability_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![security_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=security_rating)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![sqale_index](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=sqale_index)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)
[![vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-clean-directories&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-clean-directories)## Description
A command to clean directories based on directoryName => directoryPath mapping.
## Requirements
* php: ^8.1
* [symfony/console][2]: ^5.4.31|^6.3.8|^7.0## Installation
Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-clean-directories][1].
```sh
composer require chubbyphp/chubbyphp-clean-directories "^1.3"
```## Usage
```php
#!/usr/bin/env php
addCommand(new CleanDirectoriesCommand(['directoryName' => 'directoryPath']));
$console->run($input);
``````sh
console clean-directories directoryName
```## Copyright
2024 Dominik Zogg
[1]: https://packagist.org/packages/chubbyphp/chubbyphp-clean-directories
[2]: https://packagist.org/packages/symfony/console