0.1.5 • Published 5 years ago

gtmplant v0.1.5

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

gtmplant

GTM to PlantUML

Will convert a export GTM container file to a PlantUML file.

Usage

Install

npm install --global gtmplant

Generate image file (svg or png)

Internet connection is required

gtmplant --input test/data/cookiebotGDPRConsentRecipe.json --output test/data/cookiebotGDPRConsentRecipe.svg
gtmplant --input test/data/cookiebotGDPRConsentRecipe.json --output test/data/cookiebotGDPRConsentRecipe.png

Generate puml file

gtmplant --input test/data/cookiebotGDPRConsentRecipe.json --output test/data/cookiebotGDPRConsentRecipe.puml

Options

You can personalize your output, using the following options, to choose which component and/or usage you want to output. If no component/usage is choose, all components/usages are outputed.

For example:

gtmplant --input test/data/cookiebotGDPRConsentRecipe.json --tags --variables --usages

Will output all Tags, Variables and the usage between them.

gtmplant --input test/data/cookiebotGDPRConsentRecipe.json

Will output all Tags, Triggers, Variables and the usage between them.

-i, --input

Define the path of the exported GTM container file (JSON)

-o, --output

Define the path of the output file. If not defined, it'll output on the STDOUT

-T, --tags

Convert tags

-R, --triggers

Convert triggers

-A, --variables

Convert variables

-U, --usages

Generate usages
0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago