Cmder (cmder v0.0.1) View Source

Cmder is a runner for generic commands.

Profiles

You can define multiple cmder profiles.

config :cmder,
  tailwindcss: [
    cmd: "tailwindcss"
    path: "/usr/bin",
    args: ~w(--input=css/app.css --output=../priv/static/assets/app.css --postcss),
    cd: Path.expand("../assets", __DIR__),
    env: %{"NODE_ENV" => "development"}
  ]

If no cmd is given the profile name is being used as command.

Link to this section Summary

Functions

Runs the given profile with args.

Link to this section Functions

Link to this function

run(profile, extra_args)

View Source

Runs the given profile with args.

The given args will be appended to the configured args. The task output will be streamed directly to stdio. It returns the status of the underlying call.