File: main.go

package info (click to toggle)
golang-github-johanneskaufmann-html-to-markdown 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,084 kB
  • sloc: makefile: 3
file content (30 lines) | stat: -rw-r--r-- 378 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package main

import (
	"os"

	"github.com/JohannesKaufmann/html-to-markdown/v2/cli/html2markdown/cmd"
)

var (
	// These are set by goreleaser:
	version = "dev"
	commit  = "none"
	date    = "unknown"
)

func main() {
	release := cmd.Release{
		Version: version,
		Commit:  commit,
		Date:    date,
	}

	cmd.Run(
		os.Stdin,
		os.Stdout,
		os.Stderr,
		os.Args,
		release,
	)
}