Skip to content

feat: change external storage CLI output to JSON format#4

Open
minodisk wants to merge 1 commit intomainfrom
feature/json-output-format
Open

feat: change external storage CLI output to JSON format#4
minodisk wants to merge 1 commit intomainfrom
feature/json-output-format

Conversation

@minodisk
Copy link
Copy Markdown
Owner

Summary

  • Change external upload CLI output from two lines to JSON format
  • Upload command outputs: {"url":"...","id":"..."}
  • Delete command outputs: {}

Background

Based on feedback from k1LoW#481 (comment)

Having the information split into two lines is confusing; if it's a single set of information, it would be better to keep it on one line.

JSON format was chosen for:

  • Easier parsing
  • Better extensibility
  • Common CLI pattern (like aws, gh)

Test plan

  • Build passes
  • Tests pass

🤖 Generated with Claude Code

Change the output format from two lines (URL and ID) to JSON:
- Upload: {"url":"...","id":"..."}
- Delete: {}

This follows the common CLI pattern and is easier to extend.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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