Skip to content

Commit 85c5321

Browse files
committed
Update README.md
1 parent b376ea2 commit 85c5321

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
[![codecov](https://codecov.io/gh/KEINOS/Hello-Cobra/branch/main/graph/badge.svg?token=R2B9UBIEUI)](https://codecov.io/gh/KEINOS/Hello-Cobra "View details on CodeCov.IO")
66
[![Go Reference](https://pkg.go.dev/badge/github.com/KEINOS/Hello-Cobra.svg)](https://pkg.go.dev/github.com/KEINOS/Hello-Cobra#section-documentation "Read generated documentation of the app")
77

8-
# "Hello, world!" Sample of Cobra with Unit Tests and 100% Coverage
8+
# "Hello, world!" Sample of Cobra with 100% Code Coverage
99

10-
- [Cobra](https://cobra.dev/) is an awesome framework to help create CLI apps in Golang.
10+
- [Cobra](https://cobra.dev/) is an awesome framework of Golang to help create CLI apps.
1111

12-
**This repo is a draft of [Cobra](https://cobra.dev/)'s "`Hello, world!`" sample with 100% code coverage**, and looking for better-practices all the time.
12+
**This repo is a sample of [Cobra](https://cobra.dev/)'s "`Hello, world!`" with 100% code coverage**. Including [CI](./github/workflows/)s of static analysis, lint check and formatters to just say "Hello" to the world with Cobra. It is a draft forever, so feel free to PR!
1313

1414
## Searching for the best practices of Cobra
1515

16-
**We all know keeping 100% of coverage is a myth.** But as a `Golang` and `Cobra` beginner, we wanted a "Hello-world" sample with 100% code coverage, which couldn't be found by googling for "[`golang` `cobra` `sample` `hello` `world` `coverage` `100%`](https://www.google.com/search?q=%22golang%22+cobra+sample+hello+world+coverage+100%)".
16+
**We all know keeping 100% of code coverage is a myth.** But as a `Golang` and `Cobra` beginner, we wanted a "Hello-world" sample with 100% of coverage, which couldn't be found by googling for "[`golang` `cobra` `sample` `hello` `world` `coverage` `100%`](https://www.google.com/search?q=%22golang%22+cobra+sample+hello+world+coverage+100%)".
1717

1818
This repo aims to be the basis for implementing best-practices by keeping the code coverage as high and complexity as low as possible.
1919

20-
- Therefore, this is a Forever-[WIP](https://en.wikipedia.org/wiki/Work_in_progress)-Repo. So any PR is welcome!!
20+
- Therefore, this is a forever-[WIP](https://en.wikipedia.org/wiki/Work_in_progress)-repo. So any PR is welcome!!
2121

2222
## How to run tests
2323

@@ -31,6 +31,7 @@ ok github.com/KEINOS/Hello-Cobra/util 0.015s coverage: 100.0% of statem
3131
- When coverage was less than 100% and if you find hard which/where to cover and fix, then try:
3232

3333
```shellsession
34+
$ # Unix/Linux users (POSIX compatible)
3435
$ /bin/bash ./.github/run-tests-coverage.sh --verbose
3536
```
3637

0 commit comments

Comments
 (0)