Skip to content

Commit

Permalink
Update suggestions to use verdi presto and verdi profile setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sphuber committed Apr 25, 2024
1 parent d23992b commit 4e535ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/aiida/cmdline/commands/cmd_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def profile_list():
echo.echo_report(f'configuration folder: {config.dirpath}')

if not config.profiles:
echo.echo_warning('no profiles configured: run `verdi setup` to create one')
echo.echo_warning('no profiles configured: run `verdi presto` to create one')
else:
sort = lambda profile: profile.name # noqa: E731
highlight = lambda profile: profile.name == config.default_profile_name # noqa: E731
Expand Down
5 changes: 4 additions & 1 deletion src/aiida/cmdline/commands/cmd_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ def verdi_status(print_traceback, no_rmq):

if profile is None:
print_status(ServiceStatus.WARNING, 'profile', 'no profile configured yet')
echo.echo_report('Configure a profile by running `verdi quicksetup` or `verdi setup`.')
echo.echo_report(
'Run `verdi presto` to automatically setup a profile using all defaults or use `verdi profile setup` '
'for more control.'
)
return

print_status(ServiceStatus.UP, 'profile', profile.name)
Expand Down

0 comments on commit 4e535ef

Please sign in to comment.