precheck

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PreCheckCmd = &cobra.Command{
	Use:   "precheck",
	Short: "precheck checks the pre-requisites for the bsf ",
	Long:  `precheck checks the current nix version and is flakes enabled? and various other pre-requisites for the bsf to work properly.`,
	Run: func(cmd *cobra.Command, args []string) {
		AllPrechecks()
	},
}

PreCheckCmd represents the precheck command that checks the pre-requisites

Functions

func AllPrechecks

func AllPrechecks()

AllPrechecks runs all the prechecks

func IsFlakesEnabled

func IsFlakesEnabled()

IsFlakesEnabled checks if the flakes are enabled in the nix configuration

func ValidateNixVersion

func ValidateNixVersion()

ValidateNixVersion checks if the current nix version is it compatible with bsf

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL