linkorb/metaculous

Metaculous: Generate json

v1.0.3 2023-02-06 13:40 UTC

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.