FIND YOUR NEXT FEW LINES
Results for “arguments”
Small, practical examples. Search by task or narrow things down below.
30 snippets foundClear filters
Look up values in an associative array
Use named keys for a small in-memory configuration table.
dictionary✓ Tested
Override the image entrypoint in Compose
Docker / Compose: entrypoint and command combine as executable and arguments.
Docker / Compose✓ Tested
Pass an argument into a worker thread
C++: Thread arguments are copied by default; std::ref explicitly passes a reference.
C++✓ Tested
Read an image’s default command
Docker / Compose: Config.Cmd contains the command arguments stored in the image.
Docker / Compose✓ Tested
Return text from a shell function
Capture a function’s output with command substitution.
function✓ Tested
Type a function’s inputs and output
Catch mismatched arguments during compilation.
function✓ Tested