Coder.comC
Coder.com3y ago
29 replies
4no

Pass in list of strings as a rich parameter through CLI

Hi Coder devs!

I'm attempting to create a workspace via the CLI with a given coder_parameter. This coder_parameter is of type=list(string) with the default value of jsonencode(["A","B","C"]). Since it seems that I can't specify default as the value. How can I format the values I want in the CLI that is acceptable? i.e. coder create workspace-4no --parameter param=["A","B","C"]

Thanks!
Was this page helpful?