mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 14:13:14 -06:00
20 lines
371 B
Go
20 lines
371 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
|
|
"oizys/internal/oizys"
|
|
)
|
|
|
|
var outputCmd = &cobra.Command{
|
|
Use: "output",
|
|
Short: "show nixosConfiguration attr",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
oizys.Output()
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(outputCmd)
|
|
outputCmd.Flags().BoolVar(&systemPath, "system-path", false, "show system-path drv")
|
|
}
|