Describe the bug
Using wheels new --no-sqlite incorrectly results in SQLite database files still being created, and SQLite datasource code being generated. This was partially addressed in issue #2621 but the behavior remains. On investigation, the --no-sqlite argument is never passed through to Wheels CLI module.
To Reproduce
Steps to reproduce the behavior:
- Create new app with
wheels new test_app --no-sqlite
- App is erroneously created with a SQLite database
Expected behavior
The SQLite database and related code should not be generated.
Desktop (please complete the following information):
- OS: Ubuntu 26.04 LTS, Windows 11 Pro 25H2
- Version: Wheels 4.0.2 (Linux), 4.0.3-snapshot.1966 (bleeding-edge)
Additional context
After testing several variations, it appears that no command line argument beginning with --no- is passed through to the Wheels CLI module (/wheels/cli/lucli/Module.cfc). Therefore options.noSQLite is never set to true and the default behavior continues. I have not determined whether this is a Wheels issue or a limitation with the upstream LuCLI tool. (LuCLI has a --no-agents option that may be causing a parsing problem, but this is just speculation.)
A possible quick fix is renaming the command line argument. For instance --nosqlite correctly passes through.
Describe the bug
Using
wheels new --no-sqliteincorrectly results in SQLite database files still being created, and SQLite datasource code being generated. This was partially addressed in issue #2621 but the behavior remains. On investigation, the--no-sqliteargument is never passed through to Wheels CLI module.To Reproduce
Steps to reproduce the behavior:
wheels new test_app --no-sqliteExpected behavior
The SQLite database and related code should not be generated.
Desktop (please complete the following information):
Additional context
After testing several variations, it appears that no command line argument beginning with
--no-is passed through to the Wheels CLI module (/wheels/cli/lucli/Module.cfc). Thereforeoptions.noSQLiteis never set to true and the default behavior continues. I have not determined whether this is a Wheels issue or a limitation with the upstream LuCLI tool. (LuCLI has a--no-agentsoption that may be causing a parsing problem, but this is just speculation.)A possible quick fix is renaming the command line argument. For instance
--nosqlitecorrectly passes through.