Updatd config files; ran formatter

This commit is contained in:
Jef Roosens 2022-04-06 16:57:27 +02:00
parent 5b919ceeae
commit b90e6cf6b4
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
9 changed files with 13 additions and 68 deletions

View file

@ -14,15 +14,15 @@ pub fn cmd() cli.Command {
name: 'repos'
description: 'Interact with the repos API.'
commands: [
cli.Command{
name: 'list'
description: 'List the current repos.'
execute: fn (cmd cli.Command) ? {
conf := env.load<Config>() ?
cli.Command{
name: 'list'
description: 'List the current repos.'
execute: fn (cmd cli.Command) ? {
conf := env.load<Config>() ?
list(conf) ?
}
}
list(conf) ?
}
},
]
}
}

View file

@ -37,4 +37,3 @@ pub fn write_repos(path string, repos []GitRepo) ? {
value := json.encode(repos)
f.write_string(value) ?
}