You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new CLI sub-command to generate a Dofigen configuration from a Dockerfile.
The sub-command should be parse and by default, it will parse the Dockerfile and .dockerignore of the current directory to create a dofigen.yml file in the same dir.
Here are some options for this sub-command:
--file or -f: the path to the Dockerfile. If the value is -, the Dockerfile data will be read from the STDIN. Default value: Dockerfile
--output, --out or -o: the path to the generated Dofigen configuration file. If the value is -, the Dofigen conf will be written to the STDOUT. Default value dofigen.yml
--language, --lang or -l: The expected output language. Value is not case sensitive and is one of yaml (yml is allowed as an alias), json and jsonc (JSON with comments). The default value is yaml
The output and language options are linked.
Here is a table of the possible values and behaviour:
What should be done
Create a new CLI sub-command to generate a Dofigen configuration from a Dockerfile.
The sub-command should be
parse
and by default, it will parse theDockerfile
and.dockerignore
of the current directory to create adofigen.yml
file in the same dir.Here are some options for this sub-command:
--file
or-f
: the path to the Dockerfile. If the value is-
, the Dockerfile data will be read from the STDIN. Default value:Dockerfile
--output
,--out
or-o
: the path to the generated Dofigen configuration file. If the value is-
, the Dofigen conf will be written to the STDOUT. Default valuedofigen.yml
--language
,--lang
or-l
: The expected output language. Value is not case sensitive and is one ofyaml
(yml
is allowed as an alias),json
andjsonc
(JSON with comments). The default value isyaml
The
output
andlanguage
options are linked.Here is a table of the possible values and behaviour:
output
optionlanguage
optiondofigen.yml
yaml
dofigen.yml
dofigen.yml
yaml
dofigen.yaml
dofigen.yaml
yaml
yaml
dofigen.yml
yaml
yml
dofigen.yml
yaml
dofigen.wtf
yaml
dofigen.wtf
yaml
dofigen.json
dofigen.json
jsonc
jsonc
dofigen.json
jsonc
json
dofigen.json
json
Technical recommendation
?
Ecological concerns
?
Is this task linked with any other ?
#348
The text was updated successfully, but these errors were encountered: