Skip to content

Commit e4e8645

Browse files
miguelgomezgomezMiguel Gomez
andauthored
GOATS-1005: Show update command in goats run (#483)
Co-authored-by: Miguel Gomez <miguel.gomez.@noirlab.edu>
1 parent 9c82e67 commit e4e8645

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/goats_cli/cli.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,16 @@ def _check_version() -> None:
4848
"unexpected behavior or failed operations due to API changes or\n "
4949
"incompatible features.\n\n"
5050
)
51+
instructions = (
52+
"Update steps:\n"
53+
" • Stop GOATS\n"
54+
" • Run: conda update goats\n"
55+
" • Start GOATS again\n\n"
56+
)
57+
58+
utils.display_info(instructions)
5159
utils.display_info(
52-
f"➤ Visit {UPDATE_DOC_URL} for update instructions\n\n",
60+
f"➤ For more details, visit {UPDATE_DOC_URL}\n\n",
5361
)
5462
utils.display_info(
5563
"Press Enter to continue at your own risk, or Ctrl+C to cancel...",

0 commit comments

Comments
 (0)