Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalShellCmd = &cobra.Command{ Use: "shell", Short: "loading environment variables to current shell", Long: `This command will load default environment variables to the current shell Example: {cmd} shell `, Run: func(cmd *cobra.Command, _ []string) { exec.Command("nix", "shell").Run() fmt.Println("shell") }, }
View Source
var ShellCmd = &cobra.Command{ Use: "shell", Short: "loading environment variables to current shell", Long: `This command will load default environment variables to the current shell Example: {cmd} shell `, Run: func(cmd *cobra.Command, _ []string) { if err := loadEnv(cmd); err != nil { fn.PrintError(err) return } }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.