Skip to content

Add help text for codegen and datasets CLI #639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gordonwatts
Copy link
Collaborator

@gordonwatts gordonwatts commented Aug 5, 2025

Summary

  • add command descriptions for codegen and datasets CLI groups

Also discovered some commands I didn't know about - very cool! Help text to, I hope, aid discovery for others!


https://chatgpt.com/codex/tasks/task_e_689279e97aac83208bfd64635effa9d5

Copy link

codecov bot commented Aug 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.24%. Comparing base (63669b9) to head (4a91089).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #639      +/-   ##
==========================================
+ Coverage   97.19%   97.24%   +0.05%     
==========================================
  Files          29       29              
  Lines        1958     1994      +36     
==========================================
+ Hits         1903     1939      +36     
  Misses         55       55              
Flag Coverage Δ
unittests 97.24% <100.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gordonwatts gordonwatts self-assigned this Aug 5, 2025
@gordonwatts gordonwatts added documentation Improvements or additions to documentation enhancement New feature or request and removed codex labels Aug 5, 2025
@gordonwatts gordonwatts requested a review from Copilot August 5, 2025 22:06
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 adds help text and documentation improvements to the ServiceX CLI's codegen and datasets command groups. The changes focus on making the CLI more discoverable and user-friendly by adding descriptive help text for command groups and individual commands.

  • Added callback functions with help text for both codegen and datasets command groups
  • Enhanced docstrings for existing commands to be more descriptive and informative
  • Added a minor assertion to ensure type safety in the datasets list command

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
servicex/app/datasets.py Added help text for datasets command group and improved docstrings for list, get, and delete commands
servicex/app/codegen.py Added help text for codegen command group with callback function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant