mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
7a9c88e9e7
This Oython tool will be used to easily work with PTML. It currently features two subcommands: * `cat` prints a PTML to the terminal, with color formatting if possible; * `strip` will strip a file of the PTML markup;
11 lines
310 B
Python
11 lines
310 B
Python
#
|
|
# This file is distributed under the MIT License. See LICENSE.md for details.
|
|
#
|
|
|
|
from revng.cli.commands_registry import commands_registry
|
|
|
|
from .cat import PTMLCatCommand # noqa: F401
|
|
from .strip import PTMLStripCommand # noqa: F401
|
|
|
|
commands_registry.define_namespace(("ptml",), "Manipulate PTML files")
|