2023-06-19 23:42:47 +02:00
|
|
|
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2018-01-03 07:04:48 +01:00
|
|
|
|
2023-08-11 04:46:45 +02:00
|
|
|
package cli // import "miniflux.app/v2/internal/cli"
|
2018-01-03 07:04:48 +01:00
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"runtime"
|
|
|
|
|
2023-08-11 04:46:45 +02:00
|
|
|
"miniflux.app/v2/internal/version"
|
2018-01-03 07:04:48 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func info() {
|
|
|
|
fmt.Println("Version:", version.Version)
|
2020-10-19 00:00:10 +02:00
|
|
|
fmt.Println("Commit:", version.Commit)
|
2018-01-03 07:04:48 +01:00
|
|
|
fmt.Println("Build Date:", version.BuildDate)
|
|
|
|
fmt.Println("Go Version:", runtime.Version())
|
2018-09-17 04:13:16 +02:00
|
|
|
fmt.Println("Compiler:", runtime.Compiler)
|
|
|
|
fmt.Println("Arch:", runtime.GOARCH)
|
|
|
|
fmt.Println("OS:", runtime.GOOS)
|
2018-01-03 07:04:48 +01:00
|
|
|
}
|