Skip to content
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

CLI: Use --server and --identity args consistently instead of anonymous args #1482

Merged
merged 13 commits into from
Jul 10, 2024

Conversation

bfops
Copy link
Collaborator

@bfops bfops commented Jul 8, 2024

Description of Changes

Updates the CLI's energy, identity, list, and server subcommands to consistently use --server/-s for a server arg and --identity/-i for an identity arg.

All the subcommands altered by this PR used to use anonymous args for these.

Closes #1486.

API and ABI breaking changes

This breaks the CLI API for all altered subcommands!

This may necessitate updates to scripts that use the CLI... but it's hard to figure out which ones until they break 🥲

Expected complexity level and risk

1

Testing

  • CI passes

@bfops bfops changed the base branch from master to bfops/common-cli-params July 8, 2024 19:01
@bfops bfops changed the title spacetime server subcommands use explicit --server/-s param CLI: Use --server and --identity params consistently Jul 8, 2024
@bfops bfops added the CLI only This change only affects the CLI behavior label Jul 8, 2024
@bfops bfops requested a review from jdetter July 8, 2024 19:08
@Centril
Copy link
Contributor

Centril commented Jul 9, 2024

Looks good in principle; I'll let @jdetter approve though.

@bfops bfops changed the base branch from bfops/common-cli-params to master July 9, 2024 17:03
@bfops bfops added the release-any To be landed in any release window label Jul 9, 2024
@bfops bfops marked this pull request as ready for review July 9, 2024 17:32
Copy link
Collaborator

@jdetter jdetter left a comment

Choose a reason for hiding this comment

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

I haven't tested this myself but the code looks good. Another win for consistency, thanks Zeke 👍

@bfops bfops changed the title CLI: Use --server and --identity params consistently CLI: Use --server and --identity args consistently instead of anonymous args Jul 10, 2024
@bfops bfops added this pull request to the merge queue Jul 10, 2024
Merged via the queue into master with commit 3266aa4 Jul 10, 2024
11 checks passed
@bfops bfops deleted the bfops/ping-param branch September 5, 2024 17:49
@bfops bfops added the api-break A PR that makes an API breaking change label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-break A PR that makes an API breaking change CLI only This change only affects the CLI behavior release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI: spacetime server ping should use same parameter as everything else for providing server
4 participants