Skip to content

Conversation

frank-e-loftus
Copy link
Contributor

CLI attach command --help appears to be outdated

The --help for the attach command gives the option "latest" which does not appear to be supported anymore:

image

Unless I'm misunderstanding, I believe it should instead list "DEFAULT".

Same for the "dynamosafe" option. It appears to be unsupported:

image

Copy link
Contributor

@devloai devloai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary:

This PR updates the CLI attach command help text to remove outdated options and align with current implementation:
• Removes obsolete "latest" option that is no longer supported
• Removes deprecated "dynamosafe" option
• Replaces with "DEFAULT" option for using default engine

Review Summary:

The PR correctly identifies and removes outdated help documentation that referenced unsupported options. However, there's a critical case sensitivity issue where the help text shows "DEFAULT" but the actual usage patterns and code implementation expect "default" (lowercase). This inconsistency would cause user confusion when the command fails with the documented uppercase version.

Follow-up suggestions:

@devloai fix the identified case sensitivity issue

@jmcouffin jmcouffin requested a review from Copilot September 2, 2025 21:28
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CLI attach command help documentation to reflect the current supported options. The changes remove outdated engine version options and replace them with the currently supported default option.

  • Replaces "latest" engine option with "DEFAULT" in help text
  • Removes the unsupported "dynamosafe" engine option

@jmcouffin
Copy link
Contributor

It looks good, thanks @frank-e-loftus

@jmcouffin jmcouffin merged commit 0003753 into pyrevitlabs:develop Sep 3, 2025
Copy link
Contributor

github-actions bot commented Sep 3, 2025

📦 New work-in-progress (wip) builds are available for 5.2.0.25246+0855-wip

Copy link
Contributor

github-actions bot commented Sep 5, 2025

📦 New work-in-progress (wip) builds are available for 5.2.0.25248+0948-wip

Copy link
Contributor

github-actions bot commented Sep 8, 2025

📦 New work-in-progress (wip) builds are available for 5.2.0.25251+0758-wip

Copy link
Contributor

github-actions bot commented Sep 8, 2025

📦 New work-in-progress (wip) builds are available for 5.2.0.25251+0805-wip

Copy link
Contributor

github-actions bot commented Sep 8, 2025

📦 New work-in-progress (wip) builds are available for 5.2.0.25251+0824-wip

Copy link
Contributor

github-actions bot commented Sep 9, 2025

📦 New work-in-progress (wip) builds are available for 5.2.0.25252+1659-wip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants