dfx new _project_name_ --dry-run not generating any preview.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 204
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running dfx new my-project --dry-run and trace the dfx new command's dry-run behavior, using the verbose output to follow template gathering and file-writing steps. Done means the command previews the directories and files that would be created while leaving the file system unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100