Skip to content

Allow project creation by name#243

Merged
purplecabbage merged 14 commits intomasterfrom
CreateProject
Mar 30, 2026
Merged

Allow project creation by name#243
purplecabbage merged 14 commits intomasterfrom
CreateProject

Conversation

@purplecabbage
Copy link
Copy Markdown
Member

@purplecabbage purplecabbage commented Mar 26, 2026

Description

Allow create calls for new projects in dev-console. Assumes name is unique, or it will fail with the appropriate message.
This will enable agents to create new App Builder projects without user interaction.

aio console project create --name=alphaNumericName1 --title="alphaNumeric with spaces" --description="free text up to 1000 char"
--json output is now formatted for both human readability and machines

Related Issue

ACNA-4400

Motivation and Context

Agents need to be able to create projects with all parameters specified, the only other way to create a project was through `app init' with prompts for a project name,title,description ...

How Has This Been Tested?

  • tested against live dev-console api

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@purplecabbage purplecabbage marked this pull request as ready for review March 26, 2026 23:18
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new console project create command to enable non-interactive Adobe Developer Console project creation (by name) for a specified (or configured) organization, intended to support agent workflows.

Changes:

  • Introduces src/commands/console/project/create.js implementing project creation with local validation and a pre-check for duplicate project names.
  • Adds test/commands/console/project/create.test.js covering core create-path behavior and several validation/error cases.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
src/commands/console/project/create.js New CLI command to create a Console project by name/title/description with validations and org resolution.
test/commands/console/project/create.test.js New unit tests validating creation inputs, org selection behavior, and basic duplicate/validation errors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 26 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 26 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 26 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

purplecabbage and others added 2 commits March 27, 2026 23:09
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@purplecabbage purplecabbage merged commit 6499469 into master Mar 30, 2026
9 checks passed
@purplecabbage purplecabbage deleted the CreateProject branch March 30, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants