Move runtime around
This commit is contained in:
parent
ef1243ea39
commit
feacd4eeae
18 changed files with 39 additions and 35 deletions
|
|
@ -6,12 +6,12 @@ import (
|
|||
)
|
||||
|
||||
// Config is the configuration command
|
||||
var Config wisski_distillery.Command = config{}
|
||||
var Config wisski_distillery.Command = cfg{}
|
||||
|
||||
type config struct {
|
||||
type cfg struct {
|
||||
}
|
||||
|
||||
func (s config) Description() wisski_distillery.Description {
|
||||
func (s cfg) Description() wisski_distillery.Description {
|
||||
return wisski_distillery.Description{
|
||||
Requirements: core.Requirements{
|
||||
NeedsDistillery: true,
|
||||
|
|
@ -21,7 +21,7 @@ func (s config) Description() wisski_distillery.Description {
|
|||
}
|
||||
}
|
||||
|
||||
func (s config) Run(context wisski_distillery.Context) error {
|
||||
func (s cfg) Run(context wisski_distillery.Context) error {
|
||||
context.Printf("%#v", context.Environment.Config)
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue