2018-01-03 01:04:48 -05:00
|
|
|
// Copyright 2018 Frédéric Guillot. All rights reserved.
|
|
|
|
// Use of this source code is governed by the Apache 2.0
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2018-08-25 00:51:50 -04:00
|
|
|
package cli // import "miniflux.app/cli"
|
2018-01-03 01:04:48 -05:00
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"runtime"
|
|
|
|
|
2018-08-25 00:51:50 -04:00
|
|
|
"miniflux.app/version"
|
2018-01-03 01:04:48 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
func info() {
|
|
|
|
fmt.Println("Version:", version.Version)
|
2020-10-18 18:00:10 -04:00
|
|
|
fmt.Println("Commit:", version.Commit)
|
2018-01-03 01:04:48 -05:00
|
|
|
fmt.Println("Build Date:", version.BuildDate)
|
|
|
|
fmt.Println("Go Version:", runtime.Version())
|
2018-09-16 22:13:16 -04:00
|
|
|
fmt.Println("Compiler:", runtime.Compiler)
|
|
|
|
fmt.Println("Arch:", runtime.GOARCH)
|
|
|
|
fmt.Println("OS:", runtime.GOOS)
|
2018-01-03 01:04:48 -05:00
|
|
|
}
|