hilla icon indicating copy to clipboard operation
hilla copied to clipboard

Project generated with Hilla CLI using flag --empty contains no empty view

Open rbrki07 opened this issue 10 months ago • 2 comments

Describe the bug

A new Hilla project created with the Hilla CLI using the flag --empty does not contain an empty view. The Hilla CLI shows the following help text for the flag --empty:

--empty Create a project with no menu and one empty view

The folder frontend does not contain a view.

Expected-behavior

A new Hilla project created with the Hilla CLI using the flag --empty should contain an empty view.

Otherwise, the help text for the flag --empty should be changed.

Reproduction

npx @hilla/cli init --empty hilla-project-with-no-menu-and-one-empty-view

System Info

Hilla: 2.5.6 Hilla CLI: 2.0.1 Java: 21.0.2 OS: macOS Sonoma 14.4.1 (23E224)

rbrki07 avatar Apr 03 '24 09:04 rbrki07

Let's fix the CLI documentation.

platosha avatar Apr 09 '24 11:04 platosha

Suggestion: Create a project with no menu and no view(s)?

rbrki07 avatar Apr 09 '24 12:04 rbrki07