cmd

package
v0.0.3-0...-8cbf496 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

*

  • These code lines should be moved into github.com/jenkins-zh/jenkins-cli at sometime

Index

Constants

View Source
const (
	Client  = "client"
	JobName = "jobName"
)

Variables

This section is empty.

Functions

func NewJobCmd

func NewJobCmd(args []string) (shell *ishell.Shell)

NewJobCmd create a command to deal with the job

Types

type ShellWriter

type ShellWriter struct {
	Shell *ishell.Context
}

ShellWriter combines ishell and io.Writer

func (*ShellWriter) Write

func (s *ShellWriter) Write(p []byte) (n int, err error)

Write outputs the data

Jump to

Keyboard shortcuts

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