avisi-cloud / structurizr-site-generatr

Static site generator for architecture models created with Structurizr DSL
https://avisi-cloud.github.io/structurizr-site-generatr/
Apache License 2.0
230 stars 36 forks source link

Change build directory name to start with dot to make it "hidden" as per unix convention #622

Closed chipbite closed 1 month ago

chipbite commented 1 month ago

Hi! Here is a simple idea.

I like to interact with the file system in a shell as well as a file manager/finder/explorer.

I was thinking that it would be nice if the build directory was "hidden" by default, i e prefixed with a dot as per unix convention. Then it will not show up by default in the shell (ls, tree, etc), which would be nice, IMO.

BR! /marcus

jenspav commented 1 month ago

You can control the output directory by command line arguments for both generate and serve, see https://github.com/avisi-cloud/structurizr-site-generatr/blob/main/src/main/kotlin/nl/avisi/structurizr/site/generatr/GenerateSiteCommand.kt#L50 and https://github.com/avisi-cloud/structurizr-site-generatr/blob/main/src/main/kotlin/nl/avisi/structurizr/site/generatr/ServeCommand.kt#L37

is this what you meant?

chipbite commented 1 month ago

Yes, that'll do :-) Sorry Jens, missed that. Thanks for your time!