equal
deleted
inserted
replaced
45 RunE: func(cmd *cobra.Command, args []string) error { |
45 RunE: func(cmd *cobra.Command, args []string) error { |
46 return oAuth2GetURL() |
46 return oAuth2GetURL() |
47 }, |
47 }, |
48 }, |
48 }, |
49 &cobra.Command{ |
49 &cobra.Command{ |
50 Use: "code", |
50 Use: "code CODE", |
51 Short: "Log in with OAuth2 code", |
51 Short: "Log in with OAuth2 code", |
52 RunE: func(cmd *cobra.Command, args []string) error { |
52 RunE: func(cmd *cobra.Command, args []string) error { |
53 return oAuth2ExchangeCode(args) |
53 return oAuth2ExchangeCode(args) |
54 }, |
54 }, |
55 }, |
55 }, |