cmd

package
v1.4.23 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: MIT Imports: 28 Imported by: 5

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/bpicode/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/bpicode/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

Jump to

Keyboard shortcuts

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