(c *cli.Context)
| 45 | } |
| 46 | |
| 47 | func newSubcommandContext(c *cli.Context) (*subcommandContext, error) { |
| 48 | return &subcommandContext{ |
| 49 | c: c, |
| 50 | log: logger.CreateLoggerFromContext(c, logger.EnableTerminalLog), |
| 51 | fs: realFileSystem{}, |
| 52 | }, nil |
| 53 | } |
| 54 | |
| 55 | // Returns something that can find the given tunnel's credentials file. |
| 56 | func (sc *subcommandContext) credentialFinder(tunnelID uuid.UUID) CredFinder { |
no test coverage detected