Hi, a quick question regarding `experimental_shell...
# general
i
Hi, a quick question regarding
experimental_shell_command
I am new to pants, so something may be obvious but I can seem to get it. I am using
experimental_shell_command
to "run a docker image", built in a preious step, that has tooling inside of it. think like code generation. How do I "run" the
experimental_shell_command
task, as a goal or other .. eg:
Copy code
experimental_shell_command(
    command="docker run --rm -t -v `pwd`:/v --workdir /v schema-tooling sh -c 'echo 1 > results.log'",
    tools=["docker"],
    dependencies=["datamodel/schema-tooling:schema-tooling"],
    outputs=["results.log"],
)
w
you probably want
experimental_run_shell_command
for that: see https://www.pantsbuild.org/docs/run-shell-commands for the difference
i
Thank you, - i flipped over the "task" but I still don't know how to "run" it
okay never mind - worked it out .. just
./pants run <path>