# set_cmd

Set the default command arguments for the container.

```rhai
bah.set_cmd(cmd) -> Bah
```

## Parameters

- `cmd` (string): The default command arguments

## Returns

Returns the `Bah` builder for method chaining.

## Examples

```rhai
let builder = bah("mycontainer", "ubuntu:22.04")
    .run("apt install -y nginx")
    .set_entrypoint("/usr/sbin/nginx")
    .set_cmd("-g 'daemon off;'")
    .commit("nginx:custom");

// Using alias
let builder2 = bah("app", "alpine:latest")
    .cmd("--help");
```

## Notes

- This is a chainable method
- Alias: `cmd()` can be used instead
- CMD provides default arguments to the ENTRYPOINT
