1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 03:47:04 +00:00

Start of the internal cmd

gen website examples is the first command that I should finish soon because we need it for the website's "Recipe" page. Two more html query-relative dependencies added.


Former-commit-id: 04b7f8bb968cbc3c441e2a09a4aa525b10cd4aca
This commit is contained in:
kataras
2017-06-05 16:57:47 +03:00
parent 40b9449ffd
commit 1bea8f5803
8 changed files with 2819 additions and 2525 deletions

15
internal/cmd/main.go Normal file
View File

@@ -0,0 +1,15 @@
package main
import (
"os"
"github.com/kataras/iris/internal/cmd/gen/website/examples"
)
func main() {
// just for testing, the cli will be coded when I finish at least with this one command.
_, err := examples.WriteExamplesTo(os.Stdout) // doesn't work yet.
if err != nil {
println(err.Error())
}
}