currentVersion returns a formatted version string for the Exercism CLI.
()
| 44 | |
| 45 | // currentVersion returns a formatted version string for the Exercism CLI. |
| 46 | func currentVersion() string { |
| 47 | return fmt.Sprintf("exercism version %s", Version) |
| 48 | } |
| 49 | |
| 50 | // checkForUpdate verifies if the CLI is running the latest version. |
| 51 | // If the client is out of date, the function returns upgrade instructions. |
no outgoing calls