cli

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package cli implements the commands for the JVS CLI.

Index

Constants

View Source
const (
	// Issuer is the default issuer (iss) for tokens created by the CLI.
	Issuer = "jvsctl"
)

Variables

This section is empty.

Functions

func Run added in v0.0.4

func Run(ctx context.Context, args []string) error

Run executes the CLI.

Types

type TokenCommand added in v0.0.4

type TokenCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*TokenCommand) Desc added in v0.0.4

func (c *TokenCommand) Desc() string

func (*TokenCommand) Flags added in v0.0.4

func (c *TokenCommand) Flags() *cli.FlagSet

func (*TokenCommand) Help added in v0.0.4

func (c *TokenCommand) Help() string

func (*TokenCommand) Run added in v0.0.4

func (c *TokenCommand) Run(ctx context.Context, args []string) error

type ValidateCommand added in v0.0.4

type ValidateCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*ValidateCommand) Desc added in v0.0.4

func (c *ValidateCommand) Desc() string

func (*ValidateCommand) Flags added in v0.0.4

func (c *ValidateCommand) Flags() *cli.FlagSet

func (*ValidateCommand) Help added in v0.0.4

func (c *ValidateCommand) Help() string

func (*ValidateCommand) Run added in v0.0.4

func (c *ValidateCommand) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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