cmd

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 28 Imported by: 0

Documentation

Overview

Package cmd contains all supported command of the fritzctl command line client.

Example

RootCmd is the only exported variable. Sub-commands are unexported children of RootCmd or other unexported sub-commands.

package main

import (
	"fmt"

	"github.com/coolduke/fritzctl/cmd"
)

func main() {
	use := cmd.RootCmd.Use
	fmt.Println(use)
}
Output:

fritzctl [subcommand]

Index

Examples

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "fritzctl [subcommand]",
	Short: "A lightweight, easy to use console client for the AVM FRITZ!Box Home Automation",
	Long: "fritzctl is a command line client for the AVM FRITZ!Box primarily focused on the AVM Home Automation HTTP Interface. " +
		"For recent developments and releases visit https://github.com/coolduke/fritzctl. " +
		"For the vendor description visit https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/AHA-HTTP-Interface.pdf.",
}

RootCmd represents the base command when called without any sub-commands.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package jsonapi provides the API for JSON export of AHA data.
Package jsonapi provides the API for JSON export of AHA data.
Package printer provides selection of output formats based on type information.
Package printer provides selection of output formats based on type information.

Jump to

Keyboard shortcuts

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