mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-09 20:33:15 -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")
|
|
}
|