How do generate the structure of my project in text?

Is there a way to generate the structure of my Hugo project?


| |—

If you’re with Linux, see the package called ‘tree’

I’m using Windows. Technically I don’t need to generate it but how do people manually create it when they’re getting help with their project structure, etc?

Do you mean that you want to create a Hugo site structure?

Or do you want to print out the structure of your Hugo project?

1 Like

The tree command also exists under Windows. Simply enter cmd in the search field and execute it. Then enter for example tree c:\hugo in the command prompt (instead of c:\hugo enter the directory in which the Hugo page is located) and hit return key.

1 Like

See also this Vscode extension: project-tree - Visual Studio Marketplace


Print the structure

Thank you!


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.