1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-04-04 22:09:11 +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:
```console
▾ appName/
▾ cmd/
add.go
your.go
commands.go
here.go
main.go
▾ appName/
▾ cmd/
add.go
your.go
commands.go
here.go
main.go
```
In a Cobra app, typically the main.go file is very bare. It serves one purpose: initializing Cobra.