Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "rm", Short: "Remove DigitalOcean Account", Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { s := config.ReadSecrets() dos := []config.SluSecretsDigitalOcean{} for _, do := range s.DigitalOcean { if do.Alias != FlagAlias { dos = append(dos, do) } } s.DigitalOcean = dos config.WriteSecrets(s) }, }
View Source
var FlagAlias string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.