Documentation ¶
Index ¶
Constants ¶
View Source
const ( TidbytAPIPush = "https://api.tidbyt.com/v0/devices/%s/push" APITokenEnv = "TIDBYT_API_TOKEN" )
View Source
const PublicKeysetJSON = `` /* 543-byte string literal not displayed */
Variables ¶
View Source
var EncryptCmd = &cobra.Command{ Use: "encrypt [app name] [secret value]...", Short: "Encrypts secrets for use in an app that will be submitted to the Tidbyt community repo", Example: "encrypt weather my-top-secretweather-api-key-123456", Args: cobra.MinimumNArgs(2), Run: encrypt, }
View Source
var PushCmd = &cobra.Command{ Use: "push [device ID] [webp image] [installationID]", Short: "Pushes a webp image to a Tidbyt device", Args: cobra.MinimumNArgs(2), Run: push, }
View Source
var RenderCmd = &cobra.Command{ Use: "render [script] [<key>=value>]...", Short: "Runs script with provided config parameters.", Args: cobra.MinimumNArgs(1), Run: render, }
View Source
var ServeCmd = &cobra.Command{ Use: "serve [script]", Short: "Serves a starlark render script over HTTP.", Args: cobra.ExactArgs(1), RunE: serve, }
View Source
var Version string
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.