Skip to content

Commit

Permalink
remove kind commands from starship cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed May 17, 2024
1 parent 893c6f9 commit 7ba6801
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
9 changes: 0 additions & 9 deletions clients/js/packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,12 @@ async function main() {
case 'undeploy':
client.undeploy();
break;
case 'clean-kind':
client.cleanKind();
break;
case 'delete-helm':
client.deleteHelm();
break;
case 'remove-helm':
client.removeHelm();
break;
case 'setup-kind':
client.setupKind();
break;
case 'clean':
client.clean();
break;
default:
console.log(`Unknown command: ${command}`);
displayUsage();
Expand Down
13 changes: 0 additions & 13 deletions clients/js/packages/client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ export class StarshipClient implements StarshipClientI {

public clean(): void {
this.undeploy();
this.cleanKind();
}

public setupHelm(): void {
Expand Down Expand Up @@ -479,16 +478,4 @@ export class StarshipClient implements StarshipClientI {
console.log(pid);
});
}

public setupKind(): void {
if (this.ctx.kindCluster) {
this.exec(['kind', 'create', 'cluster', '--name', this.ctx.kindCluster]);
}
}

public cleanKind(): void {
if (this.ctx.kindCluster) {
this.exec(['kind', 'delete', 'cluster', '--name', this.ctx.kindCluster]);
}
}
}

0 comments on commit 7ba6801

Please sign in to comment.