Skip to content

Add --dry-run flag to move command #2358

@fuleinist

Description

@fuleinist

Problem

The proposed directory rename/move feature for t3code projects needs a safe way to preview the change before committing — currently there's no way to validate the operation without actually moving files.

Proposed Solution

Add a --dry-run flag to the move command that:

  • Shows what would be moved (old path → new path)
  • Validates the target directory exists and is writable
  • Does NOT actually move any files or update project metadata

Use case

Before running the actual move, a user can verify the correct directory is targeted and catch any path typos in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions