Adobe I/O Lib CLI 控制台
一个库提供命令行原始来与 Adobe 开发者控制台交互 .
安装使用( U)
说明: 本模块无意单独使用,应使用 仅限 由 Adobe I/O CLI 插件.
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
)
捐款
欢迎捐款! 读取 贡献指南 更多信息.
许可证发放
这个项目根据Apache V2许可证获得许可. 见 自由主义 更多信息.