Skip to content

Commit

Permalink
Add file expanding example
Browse files Browse the repository at this point in the history
  • Loading branch information
omerlh authored and alecthomas committed Jan 14, 2019
1 parent 81f0b44 commit e7f8ee3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -250,6 +250,17 @@ func main() {
}
```

#### Reading arguments from a file
Kingpin supports reading arguments from a file.
Creat a file with the corresponding arguments:
```
echo -t=5\n > args
```
And now supply it:
```
$ ping @args
```

### Complex Example

Kingpin can also produce complex command-line applications with global flags,
Expand Down

0 comments on commit e7f8ee3

Please sign in to comment.