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