Skip to content

dfx new _project_name_ --dry-run not generating any preview. #4404

@joSFD

Description

@joSFD

I tried the following:

dfx new my-project --dry-run

It is supposed to "generate a preview of the directories and files to be created for a new project without adding them to the file system".

Instead, this happened:
It goes thru the usual questions :

  • Select a backend language
  • Select a frontend framework
  • Add extra features

Result

WARN: Running in dry mode. Nothing will be committed to disk.
Created new project "my-project"

dfx --version:

0.29.2
Result with -verbose flag

WARN: Running in dry mode. Nothing will be committed to disk.
Gathering project templates
Writing base files
Writing files for project template: dfx_js_base
Writing files for project template: motoko
Writing files for project template: sveltekit
Created new project "my-project"

Not that I need this feature—I just thought I would let you know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageThis ticket needs investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions