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

feature: add support for multi-region param #93

Merged
merged 24 commits into from
Jun 3, 2024

Conversation

ShayElkana
Copy link
Contributor

@ShayElkana ShayElkana requested review from tsemachLi and maorb-dev May 20, 2024 13:46
@tsemachLi
Copy link
Contributor

looks good, don't forget to add region to app:deploy

Copy link
Contributor

@maorb-dev maorb-dev left a comment

Choose a reason for hiding this comment

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

Looks good, few minor mistakes and names. YALLA BALAGAN

src/commands/code/status.ts Outdated Show resolved Hide resolved
src/commands/code/status.ts Outdated Show resolved Hide resolved
src/commands/code/status.ts Outdated Show resolved Hide resolved
src/commands/utils/region.ts Outdated Show resolved Hide resolved
src/commands-base/base-command.ts Outdated Show resolved Hide resolved
src/utils/region.ts Outdated Show resolved Hide resolved
src/types/utils/permissions.ts Outdated Show resolved Hide resolved
src/services/env-service.ts Show resolved Hide resolved
@ShayElkana ShayElkana requested a review from maorb-dev May 23, 2024 13:18
Comment on lines 64 to 65
const { directoryPath, appId, appVersionId, region: strRegion, force } = flags;
const region = getRegionFromString(strRegion);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can also simplify things by getting rid of redundant const regionStr

Suggested change
const { directoryPath, appId, appVersionId, region: strRegion, force } = flags;
const region = getRegionFromString(strRegion);
const { directoryPath, appId, appVersionId, force } = flags;
const region = getRegionFromString(flags?.region);

src/utils/region.ts Show resolved Hide resolved
* feature: add support for multi region param

* feature: add support for multi region param

* feature: update version

* feature: [beta] added interactive

* feature: [beta] added interactive

* feature: [beta] added interactive

* feature: [beta] added interactive

* feature: [beta] added interactive

* feature: fix name of type

* feature: fix version

* feature: fix version
@ShayElkana ShayElkana merged commit f6ec128 into master Jun 3, 2024
1 of 2 checks passed
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.

3 participants