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

Allow CLI to work with arbitrary Cloud API servers #722

Merged
merged 8 commits into from
Jan 31, 2024
Merged

Conversation

wcislo-saleor
Copy link
Member

I want to merge this PR because

  • I want to allow CLI to work with arbitrary Cloud API servers

Related (issues, PRs, topics)

Steps to test feature

  • See link in 'Related' section.

I have:

  • Tested it locally and it doesn't break existing features
  • Added documentation if public changes are introduced
  • Added tests for my code

@CLAassistant
Copy link

CLAassistant commented Jan 23, 2024

CLA assistant check
All committers have signed the CLA.

@wcislo-saleor wcislo-saleor requested a review from a team January 23, 2024 11:09
Copy link
Member

@lkostrowski lkostrowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typescript/node part is fine. I haven't review functional part

Comment on lines -153 to -155
`SALEOR_CLI_ENV`

Set to `staging` to use the CLI with staging Saleor Cloud
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why its removed? I see its used in the source code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +22 to +23
| 'cloud_api_url'
| 'cloud_api_auth_domain'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add these env variables (SALEOR_CLI_ENV_URL and SALEOR_CLI_ENV_AUTH_DOMAIN) to readme?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wcislo-saleor wcislo-saleor requested a review from a team January 24, 2024 09:18
@wcislo-saleor wcislo-saleor merged commit 9a48c83 into main Jan 31, 2024
4 checks passed
@wcislo-saleor wcislo-saleor deleted the pe-38 branch January 31, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants