Skip to content

meta-module/ocr-pdf

Repository files navigation

ocr-pdf

ocr-pdf.metamodules.org

Install

curl http://download.metamodule.org
chmod +x mm.sh
mm.sh install

Start Use metamodules

Create mm.json file

mm init

INIT

Create empty validator section

mm validator create

Create empty generator section

mm generator create

Add to list current list

Download schema and valid all listed sections in a document

mm validator create "lifecycle" "http://lifecycle.dsdasdadas.org"

Download library list and put objects to root mm.json

mm generator create "lifecycle" "http://lifecycle.dsdasdadas.org"

UPDATE ALL

Update validator section based on list

mm validator update

Update generator section based on list

mm generator update

UPDATE SELECTED

Update validator section based on list

mm validator update "lifecycle" "http://lifecycle.dsdasdadas.org" "lifecycle2" "http://lifecycle.dsdasdadas.org"

Update generator section based on list

mm generator update "lifecycle" "http://lifecycle.dsdasdadas.org" "lifecycle2" "http://lifecycle.dsdasdadas.org"

Show List current list

Download schema and valid all listed sections in a document

mm list validator

Download library list and put objects to root mm.json

mm list generator 

Show List current list

Download schema and valid all listed sections in a document

mm validator

Download library list and put objects to root mm.json

mm generator

Create section based on default

mm list schema

mm remove schema [part of schema url]

mm remove schema *generator*

JSON examples

Create empty validator

mm create validator 
{
  
} 

Create validator, add to validator section, create section if not exist

mm create validator "definition" "http://lifecycle.dsdasdadas.org" 
{
  
} 

OR

Create empty section without validation

mm create definition 
{
  
} 

OR

Create with defaults from generator and add to generator section

mm create generator "definition" "http://lifecycle.dsdasdadas.org" 
{
  
} 

Releases

No releases published

Packages

No packages published

Languages