# fontoxml-development-tools

The Development tools for FontoXML can support a developer when configuring a FontoXML editor.
This tool contains multiple commands that can be used for different tasks that commonly occur when configuring a FontoXML editor.

## Installation

	npm i -g @fontoxml/fontoxml-development-tools

## Usage

	fontoxml-development-tools --help

prints help about the available commands.

	fontoxml-development-tools <command> --help

prints help for a specific command detailing all arguments.

	fdt --help

fontoxml-development-tools is also available using the shorthand `fdt` command.

### Usage examples

	fdt attributes [--schema <schemaPath>] [--columns name ns use defaultvalue ...]

Output a table with information about all attributes in a schema.

	fdt attribute <attributeName> [--schema <schemaPath>]

Output schema information about a specific attribute. An attribute may have different definitions in the same schema, this command summarizes them all.

	fdt elements [--schema <schemaPath>] [--columns name ns local desc atts ...]

Output a table with information about all elements in a schema.

	fdt element <elementName> [--schema <schemaPath>]

Output schema information about a specific element, including detailed content model info.

	fdt operations [--columns name file label desc key ...]

Output a table with information about all operations in a repository.

	fdt operation <operationName>

Output information about a specific operation.

	fdt schemas [--columns package locations path]

Output a table with information about all schemas.

	fdt simpletypes [--columns name variety format]

Output a table with information about all simple types in a schema.

	fdt localization extract [<output>] [--paths <package1> [<package2> ...]]

Extract messages from packages and save them in a message bundle template.

	fdt localization merge [<output>] --bundles <bundle1> <bundle2> [<bundle3> ...]

Merge multiple message bundles into a single bundle.

	fdt localization update <output> <bundle> [--output-to-stdout]

Update message bundle with a new template bundle.

	fdt localization messages <bundle> [--search-in <search text>] [--search-out <search text>] [--search-package <search text>] [--search-file <search text>] [--with-conflicts] [--without-conflicts] [--with-out] [--without-out] [--no-table]

Output a table with information about all messages in a message (template) bundle.
