cmd

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(_ context.Context, cmd *cli.Command) error

Install download package with its dependencies from MS Store by id, version, locale and architecture, and then install it all.

Types

type DebugWriter

type DebugWriter struct {
	io.Writer
}

DebugWriter is a wrapper around log package.

func (DebugWriter) Write

func (w DebugWriter) Write(p []byte) (n int, err error)

Write writes provided bytes array to os.Stdout.

type ErrorWriter

type ErrorWriter struct {
	io.Writer
}

ErrorWriter is a wrapper around log package.

func (ErrorWriter) Write

func (w ErrorWriter) Write(p []byte) (n int, err error)

Write writes provided bytes array to os.Stderr.

Jump to

Keyboard shortcuts

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