dotCMS / dotCMS/core

Add content upload capability to dotCLI

Open
#33,037 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale Type : New Functionality
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

User Story

As an implementer, I want to be able to quickly turn my image library into assets, so I can reference and use them in other content and pages.

dotCLI has the ability to upload files already. I'm proposing an addition that turns files into content. The CLI should prompt or accept flags for these items:

  • Host
  • Origin directory (to upload or read from)
  • Content Type
  • Required fields
  • Publish flag

This could happen through direct API calls on each file, or through construction of an import CSV, then submitted with the API in bulk

Acceptance Criteria

dotCLI should be able to bulk create content items, when given the required fields to do so.

Proposed Objective

Technical User Experience

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with dotCLI's existing file-upload capability and compare the two proposed approaches: direct API calls per file or the linked content import API using a bulk CSV. Define how the CLI handles host, origin directory, content type, required fields, and publishing; done means it can bulk-create content items when those required inputs are provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.