devcontainers / devcontainers/cli

Build command mentions positional path argument

Ouverte
#8 2 commentaires 2 réactions 1 personne assignée Réclamée par @chrmarti Voir sur GitHub
bug
Langage dominant
TypeScript
Étoiles
3k
Forks
457
Merge moyen
13 h 17 min
PR mergées (30 j)
6

Description

Should there not be `[path]` in the help page? Looks like `--workspace-folder` is required, not a positional argument known as `path`

```
@joshspicer ➜ /workspaces/features (test ✗) $ npx dev-containers-cli-0.1.0.tgz build /tmp/vsch/container-features-test/165219861073
dev-containers-cli build [path]

Build a dev container image

Options:
--help Show help [boolean]
--version Show version number [boolean]
--user-data-folder Host path to a directory that is intended to be persisted and share state between sessions.
[string]
--docker-path Docker CLI path. [string]
--docker-compose-path Docker Compose CLI path. [string]
--workspace-folder Workspace folder path. The devcontainer.json will be looked up relative to this path.
[string] [required]
--log-level Log level. [choices: "info", "debug", "trace"] [default: "info"]
--log-format Log format. [choices: "text", "json"] [default: "text"]
--no-cache Builds the image with `--no-cache`. [boolean] [default: false]
--image-name Image name. [string]
--cache-from Additional image to use as potential layer cache [string]

Missing required argument: workspace-folder
```

_Originally posted by @joshspicer in https://github.com/devcontainers/cli/pull/4#discussion_r869472726_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.