mcmah309 / containeryard

ContainerYard is a declarative, reproducible, and reusable decentralized approach for defining containers.
Apache License 2.0
52 stars 1 forks source link

Support Single File Modules #17

Open mcmah309 opened 1 week ago

mcmah309 commented 1 week ago

A single file module syntax should be supported. To support correct syntax highlighting in IDE's we should use md files syntax, but any type of file the follows the format of using two "``" blocks should work. e.gmodule.md` ```yaml

description: "hello module"
args:
optional:
    - flutter_version

``` ```Dockerfile

RUN echo hello

``` "Containerfile" block should also work.

In yard.yaml

inputs:
    modules:
        module: path/to/module.md