cmd

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: MIT Imports: 24 Imported by: 0

README

AOJ CLI CMD

  • public cmd.Run() error: run aoj-cli command

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version  string
	Revision string
)

Functions

func Run

func Run() error

Execute executes the root command.

Types

type ExecError added in v0.5.2

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

func (ExecError) Error added in v0.5.2

func (e ExecError) Error() string

type ProblemMetadata

type ProblemMetadata struct {
	ProblemId string `yaml:"problem_id"`
}

func ReadMetadata

func ReadMetadata(path string) (*ProblemMetadata, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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