systemlink-cli 2.5.7__tar.gz → 3.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/PKG-INFO +1 -1
  2. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/pyproject.toml +1 -1
  3. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/_version.py +1 -1
  4. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/alarm_click.py +12 -3
  5. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/asset_click.py +4 -1
  6. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/cli_utils.py +48 -18
  7. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/comment_click.py +10 -2
  8. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/config_click.py +19 -2
  9. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/dataframe_click.py +22 -10
  10. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/dff_click.py +2 -1
  11. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/example_click.py +7 -1
  12. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/README.md +3 -3
  13. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-1/README.md +3 -3
  14. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-2/README.md +2 -2
  15. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/exercise-5-1-parametric-insights/README.md +1 -1
  16. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/exercise-7-1-test-plans/README.md +2 -2
  17. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/feed_click.py +7 -3
  18. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/file_click.py +4 -1
  19. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/function_click.py +4 -1
  20. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/main.py +10 -1
  21. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client_click.py +8 -2
  22. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migrate_click.py +18 -9
  23. systemlink_cli-3.0.1/slcli/migration/command.py +189 -0
  24. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/flows/discover.py +10 -2
  25. systemlink_cli-3.0.1/slcli/migration/flows/migrate.py +53 -0
  26. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/orchestration.py +38 -14
  27. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/schema.py +1 -1
  28. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/state.py +3 -0
  29. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/testmonitor/discovery.py +7 -3
  30. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/testmonitor/discovery_task.py +8 -11
  31. systemlink_cli-3.0.1/slcli/migration/workspace_task.py +65 -0
  32. systemlink_cli-3.0.1/slcli/migration/workspaces.py +114 -0
  33. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/notebook_click.py +2 -2
  34. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/policy_click.py +21 -17
  35. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/routine_click.py +7 -7
  36. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/commands.md +3 -3
  37. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/spec_click.py +9 -1
  38. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/state_click.py +7 -2
  39. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/system_click.py +15 -6
  40. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/tag_click.py +10 -4
  41. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/templates_click.py +2 -2
  42. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/testmonitor_click.py +4 -2
  43. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/universal_handlers.py +5 -3
  44. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/user_click.py +2 -2
  45. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_click.py +3 -2
  46. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/workflows_click.py +2 -2
  47. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/workitem_click.py +25 -7
  48. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/workspace_click.py +6 -3
  49. systemlink_cli-2.5.7/slcli/migration/command.py +0 -140
  50. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/LICENSE +0 -0
  51. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/dff-editor/editor.js +0 -0
  52. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/dff-editor/index.html +0 -0
  53. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/__init__.py +0 -0
  54. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/__main__.py +0 -0
  55. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/cli_formatters.py +0 -0
  56. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/completion_click.py +0 -0
  57. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/config.py +0 -0
  58. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/credentials.py +0 -0
  59. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/dff_decorators.py +0 -0
  60. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/example_loader.py +0 -0
  61. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/example_provisioner.py +0 -0
  62. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/_schema/schema-v1.0.json +0 -0
  63. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-1/config.yaml +0 -0
  64. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-2/config.yaml +0 -0
  65. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-3/config.yaml +0 -0
  66. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-3/leakage-current-results.json +0 -0
  67. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-3/overvoltage-results.json +0 -0
  68. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-3/product-xyz-compliance-report.json +0 -0
  69. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-3/product-xyz-specification.csv +0 -0
  70. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/demo-data-3/thermal-response-results.json +0 -0
  71. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/exercise-5-1-parametric-insights/config.yaml +0 -0
  72. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/exercise-7-1-test-plans/config.yaml +0 -0
  73. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/spec-compliance-notebooks/README.md +0 -0
  74. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/spec-compliance-notebooks/config.yaml +0 -0
  75. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/spec-compliance-notebooks/notebooks/SpecAnalysis_ComplianceCalculation.ipynb +0 -0
  76. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/spec-compliance-notebooks/notebooks/SpecComplianceCalculation.ipynb +0 -0
  77. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/spec-compliance-notebooks/notebooks/SpecfileExtractionAndIngestion.ipynb +0 -0
  78. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/examples/spec-compliance-notebooks/spec_template.xlsx +0 -0
  79. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/function_templates.py +0 -0
  80. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client/__init__.py +0 -0
  81. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client/crypto.py +0 -0
  82. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client/handlers.py +0 -0
  83. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client/minion.py +0 -0
  84. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client/models.py +0 -0
  85. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client/protocol.py +0 -0
  86. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client/rest.py +0 -0
  87. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client/state.py +0 -0
  88. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/managed_client/transport.py +0 -0
  89. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/mcp_click.py +0 -0
  90. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/mcp_reachability.py +0 -0
  91. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/mcp_server.py +0 -0
  92. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/mcp_skills.py +0 -0
  93. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/__init__.py +0 -0
  94. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/api.py +0 -0
  95. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/connection.py +0 -0
  96. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/flows/__init__.py +0 -0
  97. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/prefect_server.py +0 -0
  98. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/testmonitor/__init__.py +0 -0
  99. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/testmonitor/client.py +0 -0
  100. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/testmonitor/models.py +0 -0
  101. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/migration/workspace_client.py +0 -0
  102. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/paths.py +0 -0
  103. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/pkce.py +0 -0
  104. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/platform.py +0 -0
  105. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/policy_utils.py +0 -0
  106. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/profile_credentials.py +0 -0
  107. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/profiles.py +0 -0
  108. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/response_handlers.py +0 -0
  109. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/rich_output.py +0 -0
  110. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skill_click.py +0 -0
  111. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/SKILL.md +0 -0
  112. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/evals/COPILOT_BATCH_RUN_PROMPT.md +0 -0
  113. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/evals/README.md +0 -0
  114. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/evals/evals.json +0 -0
  115. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/evals/evals.schema.json +0 -0
  116. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/evals/files/spec-import/battery-specs.csv +0 -0
  117. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/evals/files/webapp-package/icon.svg +0 -0
  118. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/evals/files/webapp-package/nipkg.config.json +0 -0
  119. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/evals/files/webapp-package/webapp-content/index.html +0 -0
  120. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/evals/trigger_evals.json +0 -0
  121. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/analysis-recipes.md +0 -0
  122. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/datasheet-workflow.md +0 -0
  123. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/domain-concepts.md +0 -0
  124. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/example-authoring.md +0 -0
  125. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/filtering.md +0 -0
  126. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/import-specs.min.json +0 -0
  127. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/job-debugging/overview.md +0 -0
  128. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/nipkg/overview.md +0 -0
  129. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/notebook/interfaces.md +0 -0
  130. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/notebook/notebook-patterns.md +0 -0
  131. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/notebook/overview.md +0 -0
  132. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/python-test/overview.md +0 -0
  133. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/routine-examples.md +0 -0
  134. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/troubleshooting.md +0 -0
  135. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/webapp/angular-ui-packages.md +0 -0
  136. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/webapp/deployment.md +0 -0
  137. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/webapp/layout-patterns.md +0 -0
  138. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/webapp/nimble-angular.md +0 -0
  139. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/webapp/overview.md +0 -0
  140. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/webapp/systemlink-services.md +0 -0
  141. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/references/webapp/troubleshooting.md +0 -0
  142. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/scripts/benchmark_iteration.py +0 -0
  143. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/scripts/compare_iteration.py +0 -0
  144. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/scripts/eval_manifest.py +0 -0
  145. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/scripts/grade_eval_response.py +0 -0
  146. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/scripts/grade_iteration.py +0 -0
  147. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/scripts/prepare_eval_prompts.py +0 -0
  148. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/scripts/prepare_eval_workspace.py +0 -0
  149. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/scripts/render_eval_review.py +0 -0
  150. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/skills/slcli/scripts/spec_import_helper.py +0 -0
  151. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/ssl_trust.py +0 -0
  152. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/system_query_utils.py +0 -0
  153. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/systemlink-logo.svg +0 -0
  154. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/table_utils.py +0 -0
  155. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/utils.py +0 -0
  156. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/version_click.py +0 -0
  157. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/web_editor.py +0 -0
  158. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_bootstrap.py +0 -0
  159. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/.gitignore +0 -0
  160. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/README.md +0 -0
  161. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/angular.json +0 -0
  162. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/package.json +0 -0
  163. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/scripts/filter-sbom.js +0 -0
  164. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/app-routing.module.ts +0 -0
  165. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/app.component.html +0 -0
  166. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/app.component.scss +0 -0
  167. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/app.component.ts +0 -0
  168. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/app.module.ts +0 -0
  169. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/core/layout/app-shell.component.html +0 -0
  170. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/core/layout/app-shell.component.scss +0 -0
  171. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/core/layout/app-shell.component.ts +0 -0
  172. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/core/state/app-view-state.service.ts +0 -0
  173. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/core/systemlink/systemlink-context.service.ts +0 -0
  174. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/core/systemlink/systemlink-locale.ts +0 -0
  175. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/core/systemlink/theme-sync.service.ts +0 -0
  176. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/core/systemlink/webapp-home-data.service.ts +0 -0
  177. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/assets/assets-page.component.html +0 -0
  178. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/assets/assets-page.component.scss +0 -0
  179. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/assets/assets-page.component.ts +0 -0
  180. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/datasets/datasets-page.component.html +0 -0
  181. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/datasets/datasets-page.component.scss +0 -0
  182. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/datasets/datasets-page.component.ts +0 -0
  183. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/home/home-page.component.html +0 -0
  184. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/home/home-page.component.scss +0 -0
  185. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/home/home-page.component.ts +0 -0
  186. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/master-detail/master-detail-page.component.html +0 -0
  187. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/master-detail/master-detail-page.component.scss +0 -0
  188. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/master-detail/master-detail-page.component.ts +0 -0
  189. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/operations/operations-page.component.html +0 -0
  190. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/operations/operations-page.component.scss +0 -0
  191. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/operations/operations-page.component.ts +0 -0
  192. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/settings/settings-page.component.html +0 -0
  193. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/settings/settings-page.component.scss +0 -0
  194. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/features/settings/settings-page.component.ts +0 -0
  195. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/components/empty-state.component.html +0 -0
  196. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/components/empty-state.component.scss +0 -0
  197. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/components/empty-state.component.ts +0 -0
  198. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/components/error-banner.component.html +0 -0
  199. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/components/error-banner.component.scss +0 -0
  200. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/components/error-banner.component.ts +0 -0
  201. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/components/loading-state.component.html +0 -0
  202. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/components/loading-state.component.scss +0 -0
  203. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/components/loading-state.component.ts +0 -0
  204. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/app/shared/states/view-state.model.ts +0 -0
  205. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/assets/README.md +0 -0
  206. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/index.html +0 -0
  207. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/locale/messages.de.json +0 -0
  208. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/locale/messages.en.json +0 -0
  209. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/locale/messages.es.json +0 -0
  210. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/locale/messages.fr.json +0 -0
  211. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/locale/messages.ja.json +0 -0
  212. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/locale/messages.ko.json +0 -0
  213. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/locale/messages.zh.json +0 -0
  214. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/localize.d.ts +0 -0
  215. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/main.ts +0 -0
  216. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/src/styles.scss +0 -0
  217. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/tsconfig.app.json +0 -0
  218. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/webapp_templates/angular/blank/tsconfig.json +0 -0
  219. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/workflow_preview.py +0 -0
  220. {systemlink_cli-2.5.7 → systemlink_cli-3.0.1}/slcli/workspace_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: systemlink-cli
3
- Version: 2.5.7
3
+ Version: 3.0.1
4
4
  Summary: SystemLink Integrator CLI - cross-platform CLI for SystemLink workflows and templates.
5
5
  License-File: LICENSE
6
6
  Author: Fred Visser
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "systemlink-cli"
3
- version = "2.5.7"
3
+ version = "3.0.1"
4
4
  description = "SystemLink Integrator CLI - cross-platform CLI for SystemLink workflows and templates."
5
5
  authors = ["Fred Visser <fred.visser@emerson.com>"]
6
6
  packages = [{ include = "slcli" }]
@@ -1,4 +1,4 @@
1
1
  """Version information for slcli."""
2
2
 
3
3
  # This file is auto-generated. Do not edit manually.
4
- __version__ = "2.5.7"
4
+ __version__ = "3.0.1"
@@ -11,7 +11,12 @@ from urllib.parse import quote
11
11
  import click
12
12
  import questionary
13
13
 
14
- from .cli_utils import confirm_bulk_operation, is_interactive_environment, validate_output_format
14
+ from .cli_utils import (
15
+ confirm_bulk_operation,
16
+ is_interactive_environment,
17
+ validate_confirmation,
18
+ validate_output_format,
19
+ )
15
20
  from .rich_output import render_table
16
21
  from .universal_handlers import FilteredResponse, UniversalResponseHandler
17
22
  from .utils import (
@@ -612,7 +617,9 @@ def register_alarm_commands(cli: Any) -> None:
612
617
 
613
618
  @alarm.command(name="force-clear")
614
619
  @click.argument("instance_ids", nargs=-1, required=True)
615
- @click.option("--yes", "-y", is_flag=True, help="Skip confirmation prompt")
620
+ @click.option(
621
+ "--yes", "-y", is_flag=True, help="Skip confirmation prompt", callback=validate_confirmation
622
+ )
616
623
  @click.option(
617
624
  "--format",
618
625
  "-f",
@@ -647,7 +654,9 @@ def register_alarm_commands(cli: Any) -> None:
647
654
 
648
655
  @alarm.command(name="delete")
649
656
  @click.argument("instance_ids", nargs=-1, required=True)
650
- @click.option("--yes", "-y", is_flag=True, help="Skip confirmation prompt")
657
+ @click.option(
658
+ "--yes", "-y", is_flag=True, help="Skip confirmation prompt", callback=validate_confirmation
659
+ )
651
660
  @click.option(
652
661
  "--format",
653
662
  "-f",
@@ -12,7 +12,7 @@ from typing import Any, Dict, List, Optional, Tuple
12
12
  import click
13
13
  import questionary
14
14
 
15
- from .cli_utils import is_interactive_environment, validate_output_format
15
+ from .cli_utils import is_interactive_environment, validate_confirmation, validate_output_format
16
16
  from .universal_handlers import FilteredResponse, UniversalResponseHandler
17
17
  from .utils import (
18
18
  ExitCodes,
@@ -1210,8 +1210,11 @@ def register_asset_commands(cli: Any) -> None:
1210
1210
  @click.argument("asset_id")
1211
1211
  @click.option(
1212
1212
  "--force",
1213
+ "--yes",
1214
+ "-y",
1213
1215
  is_flag=True,
1214
1216
  help="Delete without confirmation",
1217
+ callback=validate_confirmation,
1215
1218
  )
1216
1219
  def delete_asset(
1217
1220
  asset_id: str,
@@ -2,7 +2,7 @@
2
2
 
3
3
  import os
4
4
  import sys
5
- from typing import Any, Callable, Dict, List, Optional
5
+ from typing import Any, Callable, Dict, List, Optional, TypeVar
6
6
 
7
7
  import click
8
8
  import questionary
@@ -11,17 +11,42 @@ import requests
11
11
  from .rich_output import print_json, render_table
12
12
  from .utils import ExitCodes, handle_api_error
13
13
 
14
+ _Command = TypeVar("_Command", bound=Callable[..., Any])
14
15
 
15
- def is_interactive_environment() -> bool:
16
- """Return whether interactive prompts should be displayed.
17
16
 
18
- In-process pytest callers remain interactive so prompt behavior can be tested with mocks.
19
- Captured E2E subprocesses set ``SLCLI_NON_INTERACTIVE`` explicitly.
20
- """
17
+ def validate_confirmation(ctx: click.Context, param: click.Parameter, value: bool) -> bool:
18
+ """Require explicit consent instead of prompting in non-interactive environments."""
19
+ if not value and not is_interactive_environment():
20
+ raise click.BadParameter(
21
+ "Confirmation requires an interactive terminal; pass --yes to proceed.",
22
+ ctx=ctx,
23
+ param=param,
24
+ )
25
+ return value
26
+
27
+
28
+ def confirmation_option(prompt: str) -> Callable[[_Command], _Command]:
29
+ """Provide Click's confirmation option with consistent aliases and TTY validation."""
30
+
31
+ def confirm(ctx: click.Context, param: click.Parameter, value: bool) -> None:
32
+ validate_confirmation(ctx, param, value)
33
+ if not value and not click.confirm(prompt):
34
+ ctx.abort()
35
+
36
+ return click.option(
37
+ "--yes",
38
+ "-y",
39
+ is_flag=True,
40
+ expose_value=False,
41
+ callback=confirm,
42
+ help="Skip confirmation prompt",
43
+ )
44
+
45
+
46
+ def is_interactive_environment() -> bool:
47
+ """Return whether interactive prompts should be displayed."""
21
48
  if os.getenv("SLCLI_NON_INTERACTIVE", "").lower() == "true":
22
49
  return False
23
- if os.getenv("PYTEST_CURRENT_TEST") is not None:
24
- return True
25
50
  return sys.stdin.isatty() and sys.stdout.isatty() and os.getenv("CI", "").lower() != "true"
26
51
 
27
52
 
@@ -87,13 +112,19 @@ def confirm_bulk_operation(
87
112
  Returns:
88
113
  True if confirmed, False otherwise
89
114
  """
90
- if force:
91
- return True
92
-
93
115
  if count == 0:
94
116
  click.echo(f"No {resource_type}s to {operation}")
95
117
  return False
96
118
 
119
+ if force:
120
+ return True
121
+
122
+ if not is_interactive_environment():
123
+ click.echo(
124
+ "✗ Confirmation requires an interactive terminal; pass --yes to proceed.", err=True
125
+ )
126
+ sys.exit(ExitCodes.INVALID_INPUT)
127
+
97
128
  if count == 1:
98
129
  return click.confirm(f"Are you sure you want to {operation} this {resource_type}?")
99
130
 
@@ -361,7 +392,7 @@ def paginate_list_output(
361
392
  ) -> None:
362
393
  """Paginate list output with user prompts to continue.
363
394
 
364
- For table format, shows pages of results with user prompts.
395
+ For table format, shows pages with user prompts, or one page without a TTY.
365
396
  For JSON format, shows all results at once (no pagination).
366
397
 
367
398
  Args:
@@ -421,16 +452,15 @@ def paginate_list_output(
421
452
  # Show pagination info and prompt if there are more items
422
453
  if items_shown < total_items:
423
454
  remaining = total_items - items_shown
455
+ interactive = is_interactive_environment()
424
456
  click.echo(
425
457
  f"\nShowing {items_shown} of {total_items} {total_label}. "
426
- f"{remaining} more available."
458
+ f"{remaining} more available.",
459
+ err=not interactive,
427
460
  )
428
461
 
429
- if not is_interactive_environment():
430
- click.echo("Non-interactive environment detected. Showing all remaining results...")
431
- # Continue to show all remaining pages without prompting
432
- current_page += 1
433
- continue
462
+ if not interactive:
463
+ break
434
464
 
435
465
  if not questionary.confirm(f"Show next {page_size} results?", default=True).ask():
436
466
  break
@@ -19,7 +19,7 @@ from urllib.parse import urlencode
19
19
 
20
20
  import click
21
21
 
22
- from .cli_utils import validate_output_format
22
+ from .cli_utils import confirm_bulk_operation, validate_confirmation, validate_output_format
23
23
  from .platform import require_feature
24
24
  from .universal_handlers import FilteredResponse, UniversalResponseHandler
25
25
  from .utils import (
@@ -555,18 +555,23 @@ def register_comment_commands(cli: Any) -> None:
555
555
 
556
556
  @comment.command(name="delete")
557
557
  @click.argument("comment_ids", nargs=-1, required=True)
558
+ @click.option(
559
+ "--yes", "-y", is_flag=True, help="Skip confirmation prompt", callback=validate_confirmation
560
+ )
558
561
  def delete_comments(
559
562
  comment_ids: Tuple[str, ...],
563
+ yes: bool,
560
564
  ) -> None:
561
565
  """Delete one or more comments by ID.
562
566
 
563
567
  You can delete your own comments. Elevated permissions are required
564
568
  to delete others' comments. Accepts up to 1000 IDs per invocation.
569
+ Prompts for confirmation; use --yes for non-interactive deletion.
565
570
 
566
571
  \b
567
572
  Examples:
568
573
  slcli comment delete <comment-id>
569
- slcli comment delete <id1> <id2> <id3>
574
+ slcli comment delete <id1> <id2> <id3> --yes
570
575
  """
571
576
  check_readonly_mode("delete comment(s)")
572
577
 
@@ -577,6 +582,9 @@ def register_comment_commands(cli: Any) -> None:
577
582
  )
578
583
  sys.exit(ExitCodes.INVALID_INPUT)
579
584
 
585
+ if not confirm_bulk_operation("delete", "comment", len(comment_ids), force=yes):
586
+ return
587
+
580
588
  try:
581
589
  payload: Dict[str, Any] = {"ids": list(comment_ids)}
582
590
  url = f"{_get_comment_base_url()}/delete-comments"
@@ -13,6 +13,7 @@ from urllib.parse import urlparse
13
13
  import click
14
14
  import questionary
15
15
 
16
+ from .cli_utils import validate_confirmation
16
17
  from .credentials import (
17
18
  CredentialStoreError,
18
19
  describe_credential_store,
@@ -834,6 +835,7 @@ def register_config_commands(cli: Any) -> None:
834
835
  @trust.command(name="list")
835
836
  @click.option(
836
837
  "--format",
838
+ "-f",
837
839
  "output_format",
838
840
  type=click.Choice(["table", "json"]),
839
841
  default="table",
@@ -913,7 +915,14 @@ def register_config_commands(cli: Any) -> None:
913
915
 
914
916
  @trust.command(name="remove")
915
917
  @click.option("--url", help="HTTPS server URL (defaults to the active API URL)")
916
- @click.option("--force", is_flag=True, help="Skip confirmation prompt")
918
+ @click.option(
919
+ "--force",
920
+ "--yes",
921
+ "-y",
922
+ is_flag=True,
923
+ help="Skip confirmation prompt",
924
+ callback=validate_confirmation,
925
+ )
917
926
  def remove_trusted_certificate(url: Optional[str], force: bool) -> None:
918
927
  """Remove a server certificate from the managed trust store."""
919
928
  server_url = url or get_base_url_resolution().value
@@ -960,7 +969,15 @@ def register_config_commands(cli: Any) -> None:
960
969
 
961
970
  @config.command(name="delete")
962
971
  @click.argument("name")
963
- @click.option("--force", "-f", is_flag=True, help="Skip confirmation prompt")
972
+ @click.option(
973
+ "--force",
974
+ "--yes",
975
+ "-y",
976
+ "-f",
977
+ is_flag=True,
978
+ help="Skip confirmation prompt",
979
+ callback=validate_confirmation,
980
+ )
964
981
  def delete_profile(name: str, force: bool) -> None:
965
982
  """Delete a profile."""
966
983
  from .utils import check_readonly_mode
@@ -9,7 +9,12 @@ import click
9
9
  import requests as requests_lib
10
10
  from click.core import ParameterSource
11
11
 
12
- from .cli_utils import confirm_bulk_operation, validate_output_format
12
+ from .cli_utils import (
13
+ confirm_bulk_operation,
14
+ is_interactive_environment,
15
+ validate_confirmation,
16
+ validate_output_format,
17
+ )
13
18
  from .platform import require_feature
14
19
  from .rich_output import render_table
15
20
  from .utils import (
@@ -363,12 +368,7 @@ def _fetch_table_page(payload: Dict[str, Any]) -> Dict[str, Any]:
363
368
 
364
369
  def _confirm_next_page() -> bool:
365
370
  """Ask the user if more paged data should be fetched."""
366
- try:
367
- is_tty = sys.stdout.isatty() and sys.stdin.isatty()
368
- except Exception:
369
- is_tty = False
370
-
371
- if not is_tty:
371
+ if not is_interactive_environment():
372
372
  return False
373
373
  return click.confirm("Show next page?", default=True)
374
374
 
@@ -407,7 +407,10 @@ def _display_table_pages(initial_payload: Dict[str, Any], workspace_map: Dict[st
407
407
  if not continuation_token:
408
408
  return
409
409
 
410
- click.echo(f"\nShowing {shown} dataframe table(s) so far. More may be available.")
410
+ click.echo(
411
+ f"\nShowing {shown} dataframe table(s) so far. More may be available.",
412
+ err=not is_interactive_environment(),
413
+ )
411
414
  if not _confirm_next_page():
412
415
  return
413
416
  payload["continuationToken"] = continuation_token
@@ -968,7 +971,9 @@ def register_dataframe_commands(cli: Any) -> None:
968
971
  multiple=True,
969
972
  help="Sort clause in the form column[:asc|desc]. Repeat for multiple clauses.",
970
973
  )
971
- @click.option("--take", type=click.IntRange(min=1), help="Limit the number of exported rows")
974
+ @click.option(
975
+ "--take", "-t", type=click.IntRange(min=1), help="Limit the number of exported rows"
976
+ )
972
977
  @click.option(
973
978
  "--request",
974
979
  type=click.Path(exists=True, dir_okay=False, readable=True),
@@ -1221,7 +1226,14 @@ def register_dataframe_commands(cli: Any) -> None:
1221
1226
 
1222
1227
  @dataframe.command(name="delete")
1223
1228
  @click.argument("table_ids", nargs=-1, required=True)
1224
- @click.option("--yes", "force", is_flag=True, help="Skip confirmation prompt")
1229
+ @click.option(
1230
+ "--yes",
1231
+ "-y",
1232
+ "force",
1233
+ is_flag=True,
1234
+ help="Skip confirmation prompt",
1235
+ callback=validate_confirmation,
1236
+ )
1225
1237
  def delete_tables(table_ids: Tuple[str, ...], force: bool) -> None:
1226
1238
  """Delete one or more DataFrame tables."""
1227
1239
  check_readonly_mode("delete dataframe table(s)")
@@ -9,6 +9,7 @@ import click
9
9
  import questionary
10
10
  import requests
11
11
 
12
+ from .cli_utils import confirmation_option
12
13
  from .platform import require_feature
13
14
  from .universal_handlers import FilteredResponse, UniversalResponseHandler
14
15
  from .utils import (
@@ -721,7 +722,7 @@ def register_dff_commands(cli: Any) -> None:
721
722
  default=True,
722
723
  help="Do not recursively delete dependent items (groups/fields when deleting configs)",
723
724
  )
724
- @click.confirmation_option(prompt="Are you sure you want to delete these items?")
725
+ @confirmation_option(prompt="Are you sure you want to delete these items?")
725
726
  def delete_configuration(
726
727
  config_ids: tuple[str, ...],
727
728
  group_ids: tuple[str, ...],
@@ -7,6 +7,7 @@ from typing import Any, Dict, List, Optional
7
7
 
8
8
  import click
9
9
 
10
+ from .cli_utils import confirm_bulk_operation
10
11
  from .example_loader import ExampleLoader
11
12
  from .example_provisioner import ExampleProvisioner, ProvisioningAction, ProvisioningResult
12
13
  from .universal_handlers import UniversalResponseHandler, FilteredResponse
@@ -408,6 +409,7 @@ def register_example_commands(cli: Any) -> None:
408
409
  handle_api_error(exc)
409
410
 
410
411
  @example.command(name="delete")
412
+ @click.option("--yes", "-y", is_flag=True, help="Skip confirmation prompt")
411
413
  @click.argument("example_name", required=False)
412
414
  @click.option(
413
415
  "--file",
@@ -441,8 +443,9 @@ def register_example_commands(cli: Any) -> None:
441
443
  format: str,
442
444
  dry_run: bool,
443
445
  audit_log: Optional[str],
446
+ yes: bool,
444
447
  ) -> None:
445
- """Delete resources for an example configuration in reverse order."""
448
+ """Delete example resources in reverse order; use --yes to skip confirmation."""
446
449
  from .utils import check_readonly_mode
447
450
 
448
451
  check_readonly_mode("delete an example")
@@ -473,6 +476,9 @@ def register_example_commands(cli: Any) -> None:
473
476
  provisioner_options["example_dir"] = example_dir
474
477
  provisioner = ExampleProvisioner(**provisioner_options)
475
478
 
479
+ if not dry_run and not confirm_bulk_operation("delete", "example", 1, force=yes):
480
+ return
481
+
476
482
  results, err = provisioner.delete(config)
477
483
  if err:
478
484
  handle_api_error(err)
@@ -83,9 +83,9 @@ slcli example install \
83
83
 
84
84
  # Delete example resources from a workspace
85
85
  slcli example delete demo-data-2 -w <workspace-id> --dry-run
86
- slcli example delete demo-data-2 -w <workspace>
86
+ slcli example delete demo-data-2 -w <workspace> --yes
87
87
  # Write an audit log of deletion results
88
- slcli example delete demo-data-2 -w <workspace> --audit-log delete-log.json --format json
88
+ slcli example delete demo-data-2 -w <workspace> --audit-log delete-log.json --format json --yes
89
89
  ```
90
90
 
91
91
  ## Creating New Examples
@@ -130,7 +130,7 @@ slcli example install \
130
130
  # Delete resources from the same external fixture
131
131
  slcli example delete \
132
132
  --file fixtures/example-resources/config.yaml \
133
- --workspace <workspace>
133
+ --workspace <workspace> --yes
134
134
  ```
135
135
 
136
136
  Paths in `file_path`, `rows_file`, and `data_file` properties are resolved
@@ -111,7 +111,7 @@ slcli example install demo-data-1 -w <workspace>
111
111
 
112
112
  # Cleanup (removes all tagged resources)
113
113
  slcli example delete demo-data-1 -w <workspace> --dry-run
114
- slcli example delete demo-data-1 -w <workspace>
114
+ slcli example delete demo-data-1 -w <workspace> --yes
115
115
  ```
116
116
 
117
117
  ### Expected Output
@@ -254,7 +254,7 @@ demo-data-1/
254
254
  Remove all created resources:
255
255
 
256
256
  ```bash
257
- slcli example delete demo-data-1 -w <workspace>
257
+ slcli example delete demo-data-1 -w <workspace> --yes
258
258
  ```
259
259
 
260
260
  This removes all resources tagged with `slcli-example:demo-data-1`, leaving your workspace clean.
@@ -283,7 +283,7 @@ slcli product list -w <workspace>
283
283
  slcli system list -w <workspace>
284
284
 
285
285
  # Run uninstall to clean up and retry
286
- slcli example delete demo-data-1 -w <workspace>
286
+ slcli example delete demo-data-1 -w <workspace> --yes
287
287
  slcli example install demo-data-1 -w <workspace>
288
288
  ```
289
289
 
@@ -85,10 +85,10 @@ To remove all example resources:
85
85
  slcli example delete demo-data-2 -w <workspace-id> --dry-run
86
86
 
87
87
  # Delete all demo-tagged resources in a workspace
88
- slcli example delete demo-data-2 -w <workspace>
88
+ slcli example delete demo-data-2 -w <workspace> --yes
89
89
 
90
90
  # Write an audit log of deletion results
91
- slcli example delete demo-data-2 -w <workspace> --audit-log delete-log.json --format json
91
+ slcli example delete demo-data-2 -w <workspace> --audit-log delete-log.json --format json --yes
92
92
  ```
93
93
 
94
94
  **Important**: Cleanup only deletes resources tagged with "demo". Any resources you created or modified separately will not be deleted.
@@ -19,7 +19,7 @@ slcli example install exercise-5-1-parametric-insights -w <workspace> --dry-run
19
19
  slcli example install exercise-5-1-parametric-insights -w <workspace>
20
20
 
21
21
  # Remove all provisioned resources when the session ends
22
- slcli example delete exercise-5-1-parametric-insights -w <workspace>
22
+ slcli example delete exercise-5-1-parametric-insights -w <workspace> --yes
23
23
  ```
24
24
 
25
25
  ## Resources Provisioned
@@ -19,7 +19,7 @@ slcli example install exercise-7-1-test-plans -w <workspace> --dry-run
19
19
  slcli example install exercise-7-1-test-plans -w <workspace>
20
20
 
21
21
  # Remove all provisioned resources when the session ends
22
- slcli example delete exercise-7-1-test-plans -w <workspace>
22
+ slcli example delete exercise-7-1-test-plans -w <workspace> --yes
23
23
  ```
24
24
 
25
25
  ## Resources Provisioned
@@ -77,7 +77,7 @@ slcli example delete exercise-7-1-test-plans -w <workspace>
77
77
  ## Cleanup
78
78
 
79
79
  ```bash
80
- slcli example delete exercise-7-1-test-plans -w <workspace>
80
+ slcli example delete exercise-7-1-test-plans -w <workspace> --yes
81
81
  ```
82
82
 
83
83
  Deletion order (respects dependencies):
@@ -14,7 +14,7 @@ import click
14
14
  import questionary
15
15
  import requests
16
16
 
17
- from .cli_utils import validate_output_format
17
+ from .cli_utils import validate_confirmation, validate_output_format
18
18
  from .platform import PLATFORM_SLS, get_platform
19
19
  from .universal_handlers import FilteredResponse, UniversalResponseHandler
20
20
  from .utils import (
@@ -626,7 +626,9 @@ def register_feed_commands(cli: Any) -> None:
626
626
 
627
627
  @feed.command(name="delete")
628
628
  @click.option("--id", "-i", "feed_id", required=True, help="Feed ID to delete")
629
- @click.option("--yes", "-y", is_flag=True, help="Skip confirmation prompt")
629
+ @click.option(
630
+ "--yes", "-y", is_flag=True, help="Skip confirmation prompt", callback=validate_confirmation
631
+ )
630
632
  @click.option("--wait", is_flag=True, help="Wait for operation to complete")
631
633
  @click.option("--timeout", type=int, default=300, help="Timeout in seconds when using --wait")
632
634
  def delete_feed(feed_id: str, yes: bool, wait: bool, timeout: int) -> None:
@@ -866,7 +868,9 @@ def register_feed_commands(cli: Any) -> None:
866
868
 
867
869
  @package.command(name="delete")
868
870
  @click.option("--id", "-i", "package_id", required=True, help="Package ID to delete")
869
- @click.option("--yes", "-y", is_flag=True, help="Skip confirmation prompt")
871
+ @click.option(
872
+ "--yes", "-y", is_flag=True, help="Skip confirmation prompt", callback=validate_confirmation
873
+ )
870
874
  @click.option("--wait", is_flag=True, help="Wait for operation to complete")
871
875
  @click.option("--timeout", type=int, default=300, help="Timeout in seconds when using --wait")
872
876
  def delete_package(package_id: str, yes: bool, wait: bool, timeout: int) -> None:
@@ -14,7 +14,7 @@ import click
14
14
  import questionary
15
15
  import requests as requests_lib
16
16
 
17
- from .cli_utils import validate_output_format
17
+ from .cli_utils import validate_confirmation, validate_output_format
18
18
  from .universal_handlers import FilteredResponse, UniversalResponseHandler
19
19
  from .utils import (
20
20
  ExitCodes,
@@ -851,8 +851,11 @@ def register_file_commands(cli: Any) -> None:
851
851
  )
852
852
  @click.option(
853
853
  "--force",
854
+ "--yes",
855
+ "-y",
854
856
  is_flag=True,
855
857
  help="Delete without confirmation",
858
+ callback=validate_confirmation,
856
859
  )
857
860
  def delete_file(file_id: str, force: bool = False) -> None:
858
861
  """Delete a file."""
@@ -10,7 +10,7 @@ import click
10
10
  import questionary
11
11
  import requests
12
12
 
13
- from .cli_utils import validate_output_format
13
+ from .cli_utils import validate_confirmation, validate_output_format
14
14
  from .function_templates import (
15
15
  download_and_extract_template,
16
16
  TEMPLATE_REPO,
@@ -950,8 +950,11 @@ def register_function_commands(cli: Any) -> None:
950
950
  )
951
951
  @click.option(
952
952
  "--force",
953
+ "--yes",
954
+ "-y",
953
955
  is_flag=True,
954
956
  help="Skip confirmation prompt",
957
+ callback=validate_confirmation,
955
958
  )
956
959
  def delete_function(function_id: str, force: bool = False) -> None:
957
960
  """Delete a function definition."""
@@ -16,6 +16,7 @@ import questionary
16
16
 
17
17
  from .alarm_click import register_alarm_commands
18
18
  from .asset_click import register_asset_commands
19
+ from .cli_utils import validate_confirmation
19
20
  from .comment_click import register_comment_commands
20
21
  from .completion_click import register_completion_command
21
22
  from .config_click import register_config_commands
@@ -495,7 +496,15 @@ def login(
495
496
  @cli.command()
496
497
  @click.option("--profile", "-p", help="Profile to remove (default: current profile)")
497
498
  @click.option("--all", "remove_all", is_flag=True, help="Remove all profiles")
498
- @click.option("--force", "-f", is_flag=True, help="Skip confirmation prompt")
499
+ @click.option(
500
+ "--force",
501
+ "--yes",
502
+ "-y",
503
+ "-f",
504
+ is_flag=True,
505
+ help="Skip confirmation prompt",
506
+ callback=validate_confirmation,
507
+ )
499
508
  def logout(profile: Optional[str], remove_all: bool, force: bool) -> None:
500
509
  """Remove stored SystemLink profiles and credentials.
501
510
 
@@ -11,7 +11,7 @@ from typing import TYPE_CHECKING, Any, NoReturn, TextIO
11
11
 
12
12
  import click
13
13
 
14
- from .cli_utils import validate_output_format
14
+ from .cli_utils import validate_confirmation, validate_output_format
15
15
  from .utils import ExitCodes
16
16
 
17
17
  if TYPE_CHECKING:
@@ -304,7 +304,13 @@ def register_managed_client_commands(cli: Any) -> None:
304
304
  type=click.Path(file_okay=False, dir_okay=True, path_type=Path),
305
305
  help="Directory containing this minion's isolated identity state.",
306
306
  )
307
- @click.option("--yes", is_flag=True, help="Skip the destructive-operation confirmation.")
307
+ @click.option(
308
+ "--yes",
309
+ "-y",
310
+ is_flag=True,
311
+ help="Skip the destructive-operation confirmation.",
312
+ callback=validate_confirmation,
313
+ )
308
314
  def reset(state_dir: Path, yes: bool) -> None:
309
315
  """Remove only the identity files in an isolated state directory."""
310
316
  if not yes: