Socket
Book a DemoInstallSign in
Socket

@medable/mdctl-export-adapter-console

Package Overview
Dependencies
Maintainers
0
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medable/mdctl-export-adapter-console

Medable Developer Client Tools :: Export Console Adapter

latest
Source
npmnpm
Version
1.0.73
Version published
Weekly downloads
17
-15%
Maintainers
0
Weekly downloads
 
Created
Source

mdctl-export-adapter-console

Developer Tools Export Console Adapter for Medable

This module will let you export Org configurations into the console

Usage

const ExportConsoleAdapter = require('@medable/mdctl-export-adapter-console'),
      { ExportSection } = require('@medable/mdctl-core/streams/section'),
      adapter = new ExportConsoleAdapter({
        print: true // false will not print it
      })
      
adapter.write(new ExportSection({
                                  "code": "c_role_1",
                                  "name": "Role1",
                                  "object": "role",
                                  "resource": "role.c_role_1",
                                  "scope": []
                                }, 'role'))
console.log(adapter.items) // in case you want to see the items processed
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