Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 10, 2025

The stellar tx new command help output was difficult to read due to verbose multi-line descriptions containing URLs and extensive explanations. This made it hard to quickly scan available commands and understand their basic purpose.

Before

image

The help text included:

  • Multi-line descriptions that wrapped awkwardly
  • Embedded URLs that cluttered the output
  • Verbose explanations better suited for detailed documentation

After

Commands:
  account-merge        Transfer XLM balance to another account and remove source account
  bump-sequence        Bump sequence number to invalidate older transactions
  change-trust         Create, update, or delete a trustline
  create-account       Create and fund a new account
  manage-data          Set, modify, or delete account data entries
  payment              Send asset to destination account
  set-options          Set account options like flags, signers, and home domain
  set-trustline-flags  Configure authorization and trustline flags for an asset

Changes Made

  • Converted all help constants in cmd/soroban-cli/src/commands/tx/help.rs to concise one-liners
  • Removed URLs and verbose explanations from the summary view
  • Preserved all detailed information in individual command --help outputs
  • Maintained the same functionality while improving readability

Impact

  • ✅ Much easier to scan and find the right command
  • ✅ Clean, professional CLI experience
  • ✅ Detailed help still available via stellar tx new <command> --help
  • ✅ Consistent with CLI best practices for help text formatting

Fixes #1794.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI and others added 2 commits July 10, 2025 20:09
Co-authored-by: sagpatil <1414227+sagpatil@users.noreply.github.com>
Copilot AI changed the title [WIP] stellar tx new subcommands have long difficult to read helps Make stellar tx new subcommand help text concise and readable Jul 10, 2025
Copilot AI requested a review from sagpatil July 10, 2025 20:11
Copilot finished work on behalf of sagpatil July 10, 2025 20:11
@leighmcculloch leighmcculloch marked this pull request as ready for review July 11, 2025 12:56
@leighmcculloch leighmcculloch enabled auto-merge (squash) July 11, 2025 12:56
@leighmcculloch leighmcculloch merged commit 0f2ebf5 into main Jul 11, 2025
35 checks passed
@leighmcculloch leighmcculloch deleted the copilot/fix-1794 branch July 11, 2025 13:29
@github-project-automation github-project-automation bot moved this from Backlog (Not Ready) to Done in DevX Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

stellar tx new subcommands have long difficult to read helps

3 participants