Documentation
¶
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 GetTeslaVehicle ¶
GetTeslaVehicle returns a Tesla vehicle object with active API connection
func KwhCapacity ¶
KwhCapacity determines the max battery capacity in kWh based on option codes
func KwhRemaining ¶
KwhRemaining calculates the vehicle's remaining kWh
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.