python

package
v0.0.0-...-3c97bdd Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

type Cli struct {
	// contains filtered or unexported fields
}

func NewCli

func NewCli(commandRunner exec.CommandRunner) *Cli

func (*Cli) CheckInstalled

func (cli *Cli) CheckInstalled(ctx context.Context) error

func (*Cli) CreateVirtualEnv

func (cli *Cli) CreateVirtualEnv(ctx context.Context, workingDir, name string) error

func (*Cli) InstallRequirements

func (cli *Cli) InstallRequirements(ctx context.Context, workingDir, environment, requirementFile string) error

func (*Cli) InstallUrl

func (cli *Cli) InstallUrl() string

func (*Cli) Name

func (cli *Cli) Name() string

func (*Cli) Run

func (cli *Cli) Run(
	ctx context.Context,
	workingDir string,
	environment string,
	args ...string,
) (*exec.RunResult, error)

Jump to

Keyboard shortcuts

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