Skip to content

astro build --help should print a help message about the astro build command #4935

@jasikpark

Description

@jasikpark

What version of astro are you using?

1.4.0

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

npm

What operating system are you using?

Mac

Describe the Bug

If you run npx astro build -h it will just build and ignore the flag
If you run npx astro build --help it will print the global help message

I would expect that both commands print help details for the build command.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-rq9ofs?file=example&view=editor

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

Labels

- P2: nice to haveNot breaking anything but nice to have (priority)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions