gtmplant
GTM to PlantUML
Last updated 7 months ago by marcosvrs .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gtmplant 
SYNC missed versions from official npm registry.

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 <path>

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

-o, --output <path>

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

Current Tags

  • 0.1.5                                ...           latest (7 months ago)

11 Versions

  • 0.1.5                                ...           7 months ago
  • 0.1.4                                ...           7 months ago
  • 0.1.3                                ...           7 months ago
  • 0.1.2                                ...           7 months ago
  • 0.1.1                                ...           7 months ago
  • 0.1.0                                ...           7 months ago
  • 0.0.5                                ...           7 months ago
  • 0.0.4                                ...           7 months ago
  • 0.0.3                                ...           7 months ago
  • 0.0.2                                ...           7 months ago
  • 0.0.1                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |