You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Upgrade complete. Individual projects can be updated to align with the latest version of the CLI by running `pretext update` from their project folder."
217
+
"Upgrade complete. Individual projects can be updated to align with the latest version of the CLI by running `pretext update-project` from their project folder."
218
218
)
219
219
220
220
221
-
# pretext update
221
+
@click.command('update')
222
+
defold_update():
223
+
click.echo("This command is outdated. Use `pretext update-project` instead.")
224
+
225
+
# pretext update-project
222
226
@main.command(
227
+
'update-project',
223
228
short_help="Update the current project to match the installed version of PreTeXt. Note: to upgrade the installed version of pretext, use `pretext upgrade`.",
224
229
context_settings=CONTEXT_SETTINGS,
225
230
)
226
231
@click.option(
227
232
"-b", "--backup", is_flag=True, help="Backup project files before updating."
228
233
)
229
234
@click.option("-f", "--force", is_flag=True, help="Force update of project files.")
0 commit comments