2023-06-19 17:42:47 -04:00
|
|
|
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2018-01-03 01:04:48 -05:00
|
|
|
|
2023-08-10 22:46:45 -04:00
|
|
|
package cli // import "miniflux.app/v2/internal/cli"
|
2018-01-03 01:04:48 -05:00
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"runtime"
|
|
|
|
|
2023-08-10 22:46:45 -04:00
|
|
|
"miniflux.app/v2/internal/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
|
|
|
}
|