Compare commits

..

3 commits

Author SHA1 Message Date
8fca3a1e33 Chore: update status badge
All checks were successful
/ go-test (push) Successful in 1m45s
/ docker-build-only (push) Successful in 1m58s
2024-08-10 16:34:38 +02:00
3ca1a9a51c Chore: remove generated cobra comments and improve help messages
Some checks failed
/ go-test (push) Failing after 51s
/ docker-build-only (push) Successful in 1m41s
2024-08-10 16:27:49 +02:00
1e76dca0a9 Chore: replace woodpecker with forgejo actions 2024-08-10 16:01:31 +02:00

View file

@ -12,6 +12,9 @@ var RootCmd = &cobra.Command{
Short: "You're in their DMs, I'm in their SSO",
Long: `PolyculeConnect is a SSO OpenIDConnect provider which allows multiple authentication backends,
and enables authentication federation among several infrastructures.`,
// Uncomment the following line if your bare application
// has an action associated with it:
// Run: func(cmd *cobra.Command, args []string) { },
}
// Execute adds all child commands to the root command and sets flags appropriately.
@ -24,5 +27,16 @@ func Execute() {
}
func init() {
// Here you will define your flags and configuration settings.
// Cobra supports persistent flags, which, if defined here,
// will be global for your application.
// rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.polyculeconnect.yaml)")
// Cobra also supports local flags, which will only run
// when this action is called directly.
// rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
// Disable the default `completion` command to generate the autocompletion files
RootCmd.Root().CompletionOptions.DisableDefaultCmd = true
}