Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@medable/mdctl-export-adapter-tree

Package Overview
Dependencies
Maintainers
0
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medable/mdctl-export-adapter-tree

Medable Developer Client Tools :: Export Tree Adapter

latest
Source
npmnpm
Version
1.0.73
Version published
Maintainers
0
Created
Source

mdctl-export-adapter-tree

Developer Tools Export Tree Adapter for Medable

This module will let you export Org configurations in a tree layout format.

Usage

const ExportFileTreeAdapter = require('@medable/mdctl-export-adapter-tree'),
      { ExportSection } = require('@medable/mdctl-core/streams/section'),
      adapter = new ExportFileTreeAdapter('/documents/export_org', {
        format: 'json',
        clear: true // this will remove all files on target folder
      })
      
adapter.write(new ExportSection({
                                  "code": "c_role_1",
                                  "name": "Role1",
                                  "object": "role",
                                  "resource": "role.c_role_1",
                                  "scope": []
                                }, 'role'))
adapter.end()      

FAQs

Package last updated on 31 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts