Support full file-path on outputPath argument

Created on 16 April 2024, 2 months ago
Updated 13 June 2024, 15 days ago

Problem/Motivation

Support passing full file-name instead of path to the directory only

Example of the command

drush content:export node profiles/graphql_example/assets/content.zip --all-content --assets

This could be achieved by autodetecting if outputPath argument contains a valid file extension as `zip` or `yml` and use that instead of generate the file using outputPath + "content-bulk-d_m_Y-H_i-s" + ".zip"

Also providing a flag to support override file generation probably using a flag "--override-file"

✨ Feature request
Status

Active

Version

1.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jmolivas El Centro, CA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024