Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cli's build command always prompts for package #195

Open
tyler-dane opened this issue Dec 20, 2024 · 0 comments · May be fixed by #196
Open

Cli's build command always prompts for package #195

tyler-dane opened this issue Dec 20, 2024 · 0 comments · May be fixed by #196
Assignees
Labels
bug Something isn't working

Comments

@tyler-dane
Copy link
Contributor

tyler-dane commented Dec 20, 2024

Where did this happen?

Local code with an up-to-date main branch

Expected Behavior

When running yarn cli build web, I shouldn't be prompted for which package to build. Instead, the CLI will automaticlaly build the web package.

All of these commands work as expected:

yarn cli build web -e staging              # build web for staging env
yarn cli build web -e production        # build web for production env

Current Behavior

The CLI still prompts for the package to build

Steps to Reproduce

Run yarn cli build web or any combination of yarn cli build web [options].

Possible Solution

Fix the arg parsing so that the package is successfully interpreted before continuing the script

Context

This makes it more difficult for users to use the CLI

@tyler-dane tyler-dane added the bug Something isn't working label Dec 20, 2024
@tyler-dane tyler-dane self-assigned this Dec 20, 2024
@tyler-dane tyler-dane moved this to In progress in 🏗 Compass Roadmap Dec 20, 2024
@tyler-dane tyler-dane linked a pull request Dec 20, 2024 that will close this issue
@tyler-dane tyler-dane changed the title Cli always prompts for package to use, despite including as command arg Cli's build command always prompts for package, despite including as command arg Dec 28, 2024
@tyler-dane tyler-dane changed the title Cli's build command always prompts for package, despite including as command arg Cli's build command always prompts for package Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

1 participant