sample

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListSamples

func ListSamples(format commonopt.ListFormat, filterTopic string) error

ListSamples lists all samples in the Lab5e GitHub repository. The samples must be tagged with the keywords "sample" to show up.

Samples are named with <language>-<description> and each sample is in its own repository.

Types

type Command

type Command struct {
	// No parameters
	List   listSamples  `command:"list" alias:"ls" description:"List available samples"`
	Create createSample `command:"create" alias:"new" description:"Create a sample"`
}

Command is the sample command. Samples are hosted on GitHub and the topics (aka tags) for repositories are used to filter the samples. The current client is limited to a maximum of 100 repositories

Jump to

Keyboard shortcuts

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