git-lfs/commands/command_config.go

24 lines
363 B
Go
Raw Normal View History

package gitmedia
import (
core ".."
)
type ConfigCommand struct {
*Command
}
func (c *ConfigCommand) Run() {
config := core.Config()
core.Print("Endpoint=%s", config.Endpoint)
for _, env := range core.Environ() {
core.Print(env)
}
}
func init() {
registerCommand("config", func(c *Command) RunnableCommand {
return &ConfigCommand{Command: c}
})
}