add readme
This commit is contained in:
@@ -10,13 +10,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
vars := kong.Vars{
|
||||
"host": "localhost",
|
||||
"port": "4000",
|
||||
}
|
||||
|
||||
cli := &internal.CLI{}
|
||||
kong.Parse(cli, vars)
|
||||
kong.Parse(cli, kong.Name("ultrashorty"), kong.Description("Really simple HTTP redirection using a CSV file."))
|
||||
|
||||
redirects, err := internal.ReadCsvRedirects(cli.File)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user