linkorb / metaculous
Metaculous: Generate json
v1.0.3
2023-02-06 13:40 UTC
Requires
- alom/graphviz: ^1.1
- knplabs/github-api: ^3.0
- php-http/guzzle6-adapter: ^1.1 || ^2.0.0
- symfony/console: ^3.0|^4.0
- symfony/dotenv: ^3.0|^4.0
- symfony/routing: ^3.0|^4.0
- symfony/yaml: ^4.2
Requires (Dev)
- phpunit/phpunit: ^7
- psy/psysh: @stable
This package is auto-updated.
Last update: 2024-12-06 17:58:42 UTC
README
Metaculous contains a set of Analyzers that scan your repository for common files (like package.json, .editorconfig, etc) and extract structured data from them into a .json file for further processing.
Installation
composer require linkorb/metaculous --dev
Usage
vendor/bin/metaculous --help
Run analyzers:
bin/metaculous analyze -c metaculous.yaml -o metaculous.json
project.yml example:
Here's a simple example metaculous.yaml
file:
variables: project: title: Hello world
Development / debugging:
The examples/
directory contains a collection of common files.
While developing analyzers, you can run ./bin/metaculous analyze -c examples/full-project/metaculous.yaml
to run metaculous in the context of the examples/full-project/
directory.