Skip to content

chore: Convert sandbox commands to TypeScript #1383

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

Merged
merged 19 commits into from
Feb 24, 2025
Merged

chore: Convert sandbox commands to TypeScript #1383

merged 19 commits into from
Feb 24, 2025

Conversation

kemmerle
Copy link
Contributor

@kemmerle kemmerle commented Feb 14, 2025

Description and Context

In this PR, I've converted the sandbox commands to TypeScript and added basic tests. I also corrected the names on the hubdb and secret tests which I wrote in previous PRs.

Commands

  • sandbox/create.ts
  • sandbox/delete.ts

Bucket

  • sandbox.ts

TODO

  • Address feedback

Who to Notify

@brandenrodgers @camden11 @joe-yeager

@kemmerle kemmerle marked this pull request as ready for review February 14, 2025 19:59
@kemmerle kemmerle requested a review from camden11 February 14, 2025 21:15
@kemmerle kemmerle changed the title Convert sandbox commands to TypeScript chore: Convert sandbox commands to TypeScript Feb 18, 2025
@kemmerle kemmerle requested a review from joe-yeager February 18, 2025 19:59
@@ -195,6 +203,7 @@ export async function handler(
logger.error(
i18n(`${i18nKey}.failure.invalidKey`, {
account: uiAccountDescription(parentAccountId),
authCommand: uiCommandReference('hs auth personalaccesskey'),
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this would just be hs auth since personalaccesskey is the default (and it gets passed in via option if you want to manually set it)

brandenrodgers
brandenrodgers previously approved these changes Feb 21, 2025
Copy link
Contributor

@brandenrodgers brandenrodgers left a comment

Choose a reason for hiding this comment

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

Just one comment about removing a reference to personal access key in a command reference, but otherwise lgtm 👌

@kemmerle kemmerle merged commit c771d8d into main Feb 24, 2025
1 check passed
@kemmerle kemmerle deleted the convert/tspart5 branch February 24, 2025 20:15
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