Skip to content

Feat: load parameters from file on workspace creation #1377

@spikecurtis

Description

@spikecurtis

What is your suggestion?

Allow users to specify a file on disk for coder create command, e.g. through a flag --parameter-file

Why do you want this feature?

  1. Allows coder create to be more easily used in scripts. Today we prompt, which is hard to automate.
  2. Bug: can't use Backspace in "Specify a name for your workspace" #1226 stems from a fix that was made to allow long inputs to be entered on macOS terminal. If we revert change to fix the backspace bug, we need some workaround method that will allow long inputs on the CLI for macOS, and this parameter file fits the bill.
  3. General usability. Users that create more than one similar workspace today are forced to reenter the same data at prompts.

Are there any workarounds to get this functionality today?

Not as such, although they can enter parameters at the prompts.

Are you interested in submitting a PR for this?

Yes

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy