cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerPort             = 3535
	ClerkClientSessionPath = "%s/v1/client?_clerk_js_version=4.50.1&__dev_session=%s"
)
View Source
const JwtFilePermissions = 0o600
View Source
const ReadHeaderTimeoutSeconds = 3
View Source
const WaitBeforeExitSeconds = 3

Variables

View Source
var HTML = `<!doctype html>` + "\n" +
	`<html>
        <head>
                <meta charset="utf-8"/>
                <title>Login</title>
                <!--[if lt IE 9]>
                <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
                <![endif]-->
        </head>
        <body>
            <h1>Successfully logged in as {{email}}</h1>
        <h2>Please close this tab or page and return to the CLI</h2>
        </body>
</html>`

HTML is shown to the user after they log in.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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