commands

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: AGPL-3.0-or-later Copyright (c) 2025 Vicente Oros

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCommand

func CreateCommand() *cli.Command

func DaemonCommand

func DaemonCommand() *cli.Command

func DeleteCommand

func DeleteCommand() *cli.Command

func InstallServiceCommand

func InstallServiceCommand() *cli.Command

func RunCreateInteractive

func RunCreateInteractive() error

func RunDelete

func RunDelete() error

func RunShow

func RunShow() error

func RunTestNotify

func RunTestNotify() error

func RunUpdate

func RunUpdate(ctx context.Context) error

RunUpdate checks for IP changes and updates the DDNS provider if needed.

func SelectEncryption

func SelectEncryption() (string, error)

SelectEncryption lanza el TUI y devuelve "starttls" o "tls"

func ShowCommand

func ShowCommand() *cli.Command

func TestNotifyCommand

func TestNotifyCommand() *cli.Command

func UpdateCommand

func UpdateCommand() *cli.Command

UpdateCommand defines the `update` command for the CLI.

Types

type InteractivePrompter

type InteractivePrompter struct {
	// contains filtered or unexported fields
}

func NewPrompter

func NewPrompter() *InteractivePrompter

Jump to

Keyboard shortcuts

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