You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
300 B
V
21 lines
300 B
V
2 years ago
|
module commands
|
||
|
|
||
|
import os
|
||
|
import cli
|
||
|
|
||
|
pub fn execute() {
|
||
|
mut app := cli.Command{
|
||
|
name: 'vss'
|
||
|
version: '0.0.7'
|
||
|
description: 'static site generator'
|
||
|
execute: fn (cmd cli.Command) ? {
|
||
|
println(cmd.help_message())
|
||
|
}
|
||
|
}
|
||
|
|
||
|
app.add_command(new_build_cmd())
|
||
|
|
||
|
app.setup()
|
||
|
app.parse(os.args)
|
||
|
}
|