Problem/Motivation
As a admin, I want a dedicated asset download action and updated Drush commands support for --asset_id and --media_id flags in the Acquia DAM module, so that assets can be downloaded directly via a module action and individual assets or media entities can be targeted precisely from the command line.
Acceptance Criteria
Asset Download Action
- A new "asset download action" is implemented and available within the Acquia DAM module.
- The action successfully triggers the download of the specified Acquia DAM asset.
Drush Command Arguments
- The designated Drush command is updated to accept
--asset_id=[ID]or--media_id=[ID]as optional parameters. - When
--asset_idis passed, the command executes its logic exclusively on the provided DAM asset ID. - When
--media_idis passed, the command executes its logic exclusively on the provided Drupal media entity ID. - Appropriate validation and error handling are in place if an invalid ID is provided.
Issue fork acquia_dam-3611284
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rajeshreeputraComment #5
rajeshreeputraComment #7
rajeshreeputraRequesting review!
Comment #9
rajeshreeputraMR merged!