Rename BackstageCommand to CliCommand and CommandContext to CliCommandContext

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-13 07:46:09 +01:00
parent 7d055ef0c4
commit 1929a95b97
47 changed files with 114 additions and 114 deletions
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { BackstageCommand, CliPlugin } from '@backstage/cli-node';
import { CliCommand, CliPlugin } from '@backstage/cli-node';
import { OpaqueType } from '@internal/opaque';
export const OpaqueCliPlugin = OpaqueType.create<{
@@ -22,7 +22,7 @@ export const OpaqueCliPlugin = OpaqueType.create<{
versions: {
readonly version: 'v1';
readonly packageName: string;
readonly commands: Promise<ReadonlyArray<BackstageCommand>>;
readonly commands: Promise<ReadonlyArray<CliCommand>>;
};
}>({
type: '@backstage/CliPlugin',
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { BackstageCommand } from '@backstage/cli-node';
import { CliCommand } from '@backstage/cli-node';
import { OpaqueType } from '@internal/opaque';
/** @internal */
@@ -46,7 +46,7 @@ export const OpaqueCommandLeafNode = OpaqueType.create<{
versions: {
readonly version: 'v1';
readonly name: string;
readonly command: BackstageCommand;
readonly command: CliCommand;
};
}>({
type: '@backstage/CommandLeafNode',