Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

fix: make inspect print JSON #437

Merged
merged 1 commit into from
Nov 16, 2018

Conversation

technosophos
Copy link
Member

Unwrap any signed content

$ duffle inspect helloworld:0.1.1 --insecure
{
    "name": "helloworld",
    "version": "0.1.1",
    "description": "",
    "invocationImages": [
        {
            "imageType": "docker",
            "image": "cnab/helloworld:0.1.1"
        }
    ],
    "images": [],
    "parameters": {
        "port": {
            "type": "int",
            "defaultValue": 8080,
            "required": false,
            "metadata": {},
            "destination": null
        }
    },
    "credentials": null
}

Closes #336

Unwrap any signed content

```
$ duffle inspect helloworld:0.1.1 --insecure
{
    "name": "helloworld",
    "version": "0.1.1",
    "description": "",
    "invocationImages": [
        {
            "imageType": "docker",
            "image": "cnab/helloworld:0.1.1"
        }
    ],
    "images": [],
    "parameters": {
        "port": {
            "type": "int",
            "defaultValue": 8080,
            "required": false,
            "metadata": {},
            "destination": null
        }
    },
    "credentials": null
}
```

Closes #336
@technosophos technosophos self-assigned this Nov 16, 2018
@technosophos technosophos merged commit 065c7c6 into cnabio:master Nov 16, 2018
@technosophos technosophos deleted the fix/336-simple-json branch November 16, 2018 15:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants