Skip to content

Commit

Permalink
chore: Merge the subcommands from context into cluster and get rid of…
Browse files Browse the repository at this point in the history
… the context command (#1111)

Signed-off-by: Ivo Yankov <[email protected]>
  • Loading branch information
Ivo-Yankov authored Jan 7, 2025
1 parent a3231f9 commit a9ba0c4
Show file tree
Hide file tree
Showing 16 changed files with 920 additions and 943 deletions.
8 changes: 8 additions & 0 deletions src/commands/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ export abstract class BaseCommand extends ShellRunner {
return this.configManager;
}

getChartManager(): ChartManager {
return this.chartManager;
}

/**
* Dynamically builds a class with properties from the provided list of flags
* and extra properties, will keep track of which properties are used. Call
Expand Down Expand Up @@ -171,6 +175,10 @@ export abstract class BaseCommand extends ShellRunner {
return newConfigInstance;
}

getLeaseManager(): LeaseManager {
return this.leaseManager;
}

/**
* Get the list of unused configurations that were not accessed
* @returns an array of unused configurations
Expand Down
Loading

0 comments on commit a9ba0c4

Please sign in to comment.