5.0.3 • Published 10 months ago
@adobe/aio-cli-lib-console v5.0.3
Adobe I/O Lib CLI Console
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.
5.0.3
10 months ago
5.0.2
1 year ago
5.0.1
2 years ago
5.0.0
2 years ago
4.2.1-pre.2024-01-08.sha-0aba70a6
2 years ago
4.2.1
2 years ago
4.2.0
2 years ago
4.1.0-pre.2023-06-19.sha-71a9f9ba
3 years ago
4.1.0
3 years ago
4.1.1
3 years ago
4.0.0
4 years ago
3.3.0
4 years ago
3.3.0-pre.2022-07-21.sha-6f344014
4 years ago
3.2.1
4 years ago
3.2.0
4 years ago
3.1.0
4 years ago
3.0.0
4 years ago
2.2.2
4 years ago