Skip to content

Commit be13fff

Browse files
committed
[v1.0.1] 불필요한 내용 제거
1 parent 51c5169 commit be13fff

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# go-args-parser
22

3+
[![GitHub release](https://img.shields.io/github/release/Sotaneum/go-args-parser.svg)](https://GitHub.com/Sotaneum/go-args-parser/releases/)
4+
[![Go](https://img.shields.io/badge/--00ADD8?logo=go&logoColor=ffffff)](https://golang.org/)
5+
[![GitHub go.mod Go version of a Go module](https://img.shields.io/github/go-mod/go-version/Sotaneum/go-args-parser.svg)](https://github.com/Sotaneum/go-args-parser)
6+
[![GoReportCard example](https://goreportcard.com/badge/github.com/Sotaneum/go-args-parser)](https://goreportcard.com/report/github.com/Sotaneum/go-args-parser)
7+
[![GitHub license](https://badgen.net/github/license/Sotaneum/go-args-parser)](https://github.com/Sotaneum/go-args-parser/blob/master/LICENSE)
8+
9+
환경변수나 인자로 전달받는 내용을 `map[string]string` 포맷으로 변경합니다.
10+
311
## Getting started
412

513
### download
@@ -10,12 +18,12 @@ go get -v github.com/Sotaneum/go-args-parser
1018

1119
### API
1220

13-
| name | params | returns | example | - |
14-
| ----------- | ------------------- | ------------------- | --------------------------------------- | ------------------------------------------------------------------------------------------- |
15-
| Args | `map[string]string` | `map[string]string` | parser.Args(map[string]string{}) | Argument로 넘어오는 값을 `map[string]string` 포맷으로 반환합니다. |
16-
| EnvAll | `map[string]string` | `map[string]string` | parser.EnvAll(map[string]string{}) | 모든 환경 변수 값을 `map[string]string` 포맷으로 반환합니다. |
17-
| Env | `map[string]string` | `map[string]string` | parser.Env(map[string]string{}) | 환경 변수 값 중 `params`에 해당하는 key만 추출하여 `map[string]string` 포맷으로 반환합니다. |
18-
| ArgsJoinEnv | `map[string]string` | `map[string]string` | parser.ArgsJoinEnv(map[string]string{}) | `params`에 해당 하는 key만 추출하여 env로 부터 값을 가져오고 그 위에 Args를 덮어쓰기합니다. |
21+
| name | params & returns | info |
22+
| ----------- | ------------------- | ------------------------------------------------------------------------------------------- |
23+
| Args | `map[string]string` | Argument로 넘어오는 값을 `map[string]string` 포맷으로 반환합니다. |
24+
| EnvAll | `map[string]string` | 모든 환경 변수 값을 `map[string]string` 포맷으로 반환합니다. |
25+
| Env | `map[string]string` | 환경 변수 값 중 `params`에 해당하는 key만 추출하여 `map[string]string` 포맷으로 반환합니다. |
26+
| ArgsJoinEnv | `map[string]string` | `params`에 해당 하는 key만 추출하여 env로 부터 값을 가져오고 그 위에 Args를 덮어쓰기합니다. |
1927

2028
## LICENSE
2129

0 commit comments

Comments
 (0)