Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adobe/aio-cli-lib-console

Package Overview
Dependencies
Maintainers
22
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/aio-cli-lib-console

Adobe I/O Console CLI library

  • 5.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.8K
increased by23.89%
Maintainers
22
Weekly downloads
 
Created
Source

Adobe I/O Lib CLI Console

Version Downloads/week Node.js CILicense Codecov Coverage

A library providing command line primitives to interract with the Adobe Developer Console.

Install & Usage

Note: This module is not intented for usage on its own, it should be used only by Adobe I/O CLI plugins.

  • npm install @adobe/aio-cli-lib-console
const LibConsoleCLI = require('@adobe/aio-cli-lib-console')
const consoleCLI = await LibConsoleCLI.init({ accessToken, env, apiKey: CONSOLE_API_KEYS[env] })

// select a Console Organization
const organizations = await consoleCLI.getOrganizations()
const org = await consoleCLI.promptForSelectOrganization(organizations)

// create a Console App Builder Project
const projectDetails = await consoleCLI.promptForCreateProjectDetails()
const project = await consoleCLI.createProject(org.id, projectDetails)

// add services to a selected Workspace, will create a new entp integration if there is none
const workspaces = await consoleCLI.getWorkspaces(org.id, project.id)
const workspace = await consoleCLI.promptForSelectWorkspace(workspaces)
const services = await consoleCLI.promptForSelectServiceProperties(workspace.name)
await consoleCLI.subscribeToServices(
  org.id,
  project,
  workspace,
  'folder/to/store/certificate',
  newServiceProperties
)

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

Keywords

FAQs

Package last updated on 12 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc