Skip to content

[bug] score-compose init --provisioners flag doesn't document local file option and doesn't support stdin #220

@astromechza

Description

@astromechza

the docs currently show

      --provisioners stringArray   Provisioner files to install. May be specified multiple times. Supports:
                                   - HTTP        : http://host/file
                                   - HTTPS       : https://host/file
                                   - Git (SSH)   : git-ssh://git@host/repo.git/file
                                   - Git (HTTPS) : git-https://host/repo.git/file
                                   - OCI         : oci://[registry/][namespace/]repository[:tag|@digest][#file]

But it also supports local file paths as well!

Also it would be very conventient to also support - as stdin so that we can run:

score-compose init --provisioners=- <<EOF
- uri: template://custom-env
  type: environment
  outputs:
    FIZZ: buzz
EOF

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationgoPull requests that update Go codegood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions