`dx new` does not properly honor request to omit LLMs

Open Beginner friendly
#5,199 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Start with the dx new command and trace how the “Do you want to include prompts for LLMs?” answer is handled when creating AGENTS.md. Reproduce the noaipls example with the answer set to false, then verify that AGENTS.md is absent from the generated project.

Written by the indexing model from the issue text.

Description

bug

Problem

dx new unconditionally adds AGENTS.md to a project

Steps To Reproduce

Steps to reproduce the behavior:

❯ dx new noaipls
(...)

? 🤷   Do you want to include prompts for LLMs? ›
❯ false

(...)

Build cool things! ✌️

❯ ls -l noaipls/AGENTS.md

.rw-r--r-- 7.9k ace 10 Jan 14:16 noaipls/AGENTS.md

Expected behavior

no AGENTS.md, it offends me

Screenshots

Environment:

  • Dioxus version: dioxus 0.7.2 (35351eb)
Dominant language
Rust
Stars
39.2k
Forks
1.9k
Avg merge
3d 12h
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DioxusLabs/dioxus

All issues in DioxusLabs/dioxus

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.