view cmd_donwload.go @ 4:8bc574052fcb

def cmd
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 31 Mar 2020 12:47:04 +0900
parents
children a0d23f38344d
line wrap: on
line source

package lectable

import (
	"context"
	"fmt"
	"io"
)

type cmdDownload struct{}

func (cd *cmdDownload) name() string {
	return "download"
}

func (cd *cmdDownload) description() string {
	return "donwload html from lecture ids"
}

func (cd *cmdDownload) run(ctx context.Context, argv []string, outStream, errStream io.Writer) error {
	fmt.Println("download now!!")
	return nil
}