forked from vieter-v/vieter
Updatd config files; ran formatter
This commit is contained in:
parent
5b919ceeae
commit
b90e6cf6b4
9 changed files with 13 additions and 68 deletions
|
|
@ -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) ?
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,4 +37,3 @@ pub fn write_repos(path string, repos []GitRepo) ? {
|
|||
value := json.encode(repos)
|
||||
f.write_string(value) ?
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue