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/gotohr/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/gotohr/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.
Source Files ¶
- about.go
- assertions.go
- boxinfo.go
- certificate.go
- certificate_export.go
- client.go
- completion.go
- completion_bash.go
- completion_zsh.go
- configure.go
- doc.go
- docs.go
- docs_man.go
- format.go
- list.go
- list_alerts.go
- list_buttons.go
- list_groups.go
- list_inetstats.go
- list_landevices.go
- list_logs.go
- list_phonecalls.go
- list_switches.go
- list_thermostats.go
- manifest.go
- manifest_apply.go
- manifest_export.go
- manifest_plan.go
- manifest_util.go
- output_format_selector.go
- ping.go
- root.go
- sessionid.go
- switch.go
- switch_off.go
- switch_on.go
- temperature.go
- toggle.go
- version.go
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. |
Click to show internal directories.
Click to hide internal directories.