mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
9d471d0d30
* feat(cli): initilize cli * fix(config): allow multiple files * refactor(cli): constructor naming * go mod tidy * refactor: move code out of v2 package * chore: logging v0.1 * chore: remove old gitignore * fix func Co-authored-by: Livio Amstutz <livio.a@gmail.com>
15 lines
234 B
Go
15 lines
234 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/caos/zitadel/cmd"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func main() {
|
|
args := os.Args[1:]
|
|
rootCmd := cmd.New(os.Stdout, os.Stdin /*, int(os.Stdin.Fd())*/, args)
|
|
cobra.CheckErr(rootCmd.Execute())
|
|
}
|