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:
parent
4220a0b60a
commit
08fa116823
1 changed files with 7 additions and 7 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue