https://github.com/adobe/aio-cli-lib-console
A library providing command line primitives to interract with the Adobe Developer Console.
https://github.com/adobe/aio-cli-lib-console
adobe adobe-io adobe-io-cli aio cli codegen developer-console
Last synced: 7 days ago
JSON representation
A library providing command line primitives to interract with the Adobe Developer Console.
- Host: GitHub
- URL: https://github.com/adobe/aio-cli-lib-console
- Owner: adobe
- License: apache-2.0
- Created: 2020-05-12T14:33:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2026-04-27T10:39:58.000Z (24 days ago)
- Last Synced: 2026-04-27T12:24:58.208Z (24 days ago)
- Topics: adobe, adobe-io, adobe-io-cli, aio, cli, codegen, developer-console
- Language: JavaScript
- Homepage: https://www.adobe.io
- Size: 230 KB
- Stars: 5
- Watchers: 21
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Copyright: COPYRIGHT
Awesome Lists containing this project
README
# Adobe I/O Lib CLI Console
[](https://npmjs.org/package/@adobe/aio-cli-lib-console)
[](https://npmjs.org/package/@adobe/aio-cli-lib-console)
[](https://opensource.org/licenses/Apache-2.0)
[](https://codecov.io/gh/adobe/aio-cli-lib-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`
```javascript
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](./.github/CONTRIBUTING.md) for more information.
## Licensing
This project is licensed under the Apache V2 License. See [LICENSE](LICENSE) for more information.