cmd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Copyright © 2023 Dataflows

Copyright © 2023 Dataflows

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func RunConvert

func RunConvert(cmd *cobra.Command, args []string)

RunConvert converts between one supported format to another

func RunGet

func RunGet(cmd *cobra.Command, args []string)

RunGet downloads the Namecheap DNS configuration and saves it as specified format

func RunSet

func RunSet(cmd *cobra.Command, args []string)

RunSet uploads the Namecheap DNS configuration

func RunSetOne

func RunSetOne(cmd *cobra.Command, args []string)

RunSetOne downloads the Namecheap DNS configuration first, merges single entry from input then uploads the entire configuration back

Types

This section is empty.

Jump to

Keyboard shortcuts

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