Skip to content

Add --indentation to bundle and upgrade - #889

Merged
jviotti merged 1 commit into
mainfrom
indendation-bundle
Sep 24, 2026
Merged

jviotti merged 1 commit into
mainfrom
indendation-bundle

Conversation

@jviotti

@jviotti jviotti commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Signed-off-by: Juan Cruz Viotti jv@jviotti.com

Review in cubic

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@augmentcode

augmentcode Bot commented Sep 24, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: This PR adds configurable JSON output indentation to the bundle and upgrade commands.

Changes:

  • Registers --indentation/-n <spaces> for both commands.
  • Passes the chosen indentation width to their prettify output calls.
  • Extends indentation parsing to reject empty, non-numeric, and out-of-range values.
  • Adds a dedicated CLI error and maps it to invalid-argument exit status.
  • Updates command help and user documentation with the new option.
  • Adds bundle/upgrade formatting tests and invalid-indentation coverage across commands.
Technical notes: The default remains two spaces, and zero is accepted as a non-negative indentation width.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 17 files

Re-trigger cubic

@jviotti
jviotti merged commit a4255b5 into main Sep 24, 2026
16 checks passed
@jviotti
jviotti deleted the indendation-bundle branch September 24, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant