Skip to content

🚸 ux(single): replace single format option with --single flag#94

Merged
jfbus merged 1 commit intomainfrom
single_flag
Mar 4, 2026
Merged

🚸 ux(single): replace single format option with --single flag#94
jfbus merged 1 commit intomainfrom
single_flag

Conversation

@jfbus
Copy link
Copy Markdown
Contributor

@jfbus jfbus commented Mar 4, 2026

Description

The octl iaas A describe B commands used a single output option (--output yaml,single) to output only the first entry returned by the Read api call.

octl iaas A describe B -o json would drop the single output option, and return a list, not an object.

This PR replaces the output option with a new --single flag, allowing octl iaas A describe B and octl iaas A describe B -o json to both return an object.

Type of Change

Please check the relevant option(s):

  • 🐛 Bug fix
  • ✨ New feature
  • 🧹 Code cleanup or refactor
  • 📝 Documentation update
  • 🔧 Build or CI-related change
  • 🔒 Security fix
  • Other (specify): ux

How Has This Been Tested?

Please describe the test strategy:

  • Manual testing
  • Unit tests
  • Integration tests
  • Not tested yet

Checklist

  • I have followed the Contributing Guidelines
  • I have added tests or explained why they are not needed
  • I have updated relevant documentation (README, examples, etc.)
  • My changes follow the Conventional Commits specification
  • My commits include appropriate Gitmoji

Additional Context

@jfbus jfbus marked this pull request as ready for review March 4, 2026 13:57
@outscale-rce outscale-rce added the kind/feature New feature or request label Mar 4, 2026
@jfbus jfbus merged commit 595af7c into main Mar 4, 2026
4 checks passed
@jfbus jfbus deleted the single_flag branch March 4, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature New feature or request

Development

Successfully merging this pull request may close these issues.

2 participants