Commit 50c09670 authored by Simon Schürg's avatar Simon Schürg 🚀
Browse files

Minor adjustments

parent 69bc037b
......@@ -2,7 +2,7 @@
# Feel free to use this file as a starting point for your own configuration.
# Place it in one of the following places for actl to find it
# - current working directory
# - actl directory in the XDG config home. Defaults to ${HOME}/.config/actl
# - actl directory in the XDG config home. Defaults to ${HOME}/.config/actl on most systems
# - system wide /etc/actl config directory
# There is also the --config flag, if you want to use a non default config location.
......
......@@ -12,6 +12,7 @@ var logoutCmd = &cobra.Command{
Long: `Perform an OpenID Connect Logout`,
Run: func(cmd *cobra.Command, args []string) {
log.Fatalln("This command is not yet implemented!")
// There are multiple ways to logout or end a login session in OIDC
},
}
......
......@@ -13,9 +13,9 @@ var statusCmd = &cobra.Command{
Long: `Print the current state of OpenID Connect sessions`,
Run: func(cmd *cobra.Command, args []string) {
if viper.ConfigFileUsed() != "" {
fmt.Printf("%26s %s\n", "Using config file:", viper.ConfigFileUsed())
fmt.Printf("Using config file: %s\n", viper.ConfigFileUsed())
} else {
fmt.Printf("%26s\n", "No actl config file found. Using only defaults, env vars and cli flags.")
fmt.Printf("No actl config file found. Using only defaults, env vars and cli flags.\n")
}
},
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment