Skip to content

Allow json input#22

Open
CrocBomber wants to merge 2 commits intoC2Devel:masterfrom
CrocBomber:feature/allow_json_input
Open

Allow json input#22
CrocBomber wants to merge 2 commits intoC2Devel:masterfrom
CrocBomber:feature/allow_json_input

Conversation

@CrocBomber
Copy link
Contributor

Allow put Json into input. Adds --json argument to allow this feature.
Examples:

  1. Json as argument:
    c2-paas DescribeService '{"serviceId":"fm-cluster-7867D61F"}' --no-verify-ssl --json
  2. Json as stdin:
    echo '{"serviceId":"fm-cluster-7867D61F"}' | c2-paas DescribeService - --no-verify-ssl --json

Based on #17

@pkulev pkulev changed the title C2DEVEL-XXX: Allow json input Allow json input Sep 30, 2025
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