1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-04-07 07:19:16 +00:00

Unify indentation in example project structure

This commit is contained in:
Nir Soffer 2024-08-24 23:00:06 +03:00
parent 4220a0b60a
commit 08fa116823

View file

@ -4,13 +4,13 @@ While you are welcome to provide your own organization, typically a Cobra-based
application will follow the following organizational structure: application will follow the following organizational structure:
```console ```console
▾ appName/ ▾ appName/
▾ cmd/ ▾ cmd/
add.go add.go
your.go your.go
commands.go commands.go
here.go here.go
main.go main.go
``` ```
In a Cobra app, typically the main.go file is very bare. It serves one purpose: initializing Cobra. In a Cobra app, typically the main.go file is very bare. It serves one purpose: initializing Cobra.