@revos/cli 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -7
- package/dist/adapters/oclif/commands/action-runs/get.mjs +1 -1
- package/dist/adapters/oclif/commands/action-runs/list.mjs +1 -1
- package/dist/adapters/oclif/commands/actions/get-input-schema.mjs +2 -2
- package/dist/adapters/oclif/commands/actions/get-params-schema.mjs +2 -2
- package/dist/adapters/oclif/commands/actions/get.mjs +1 -1
- package/dist/adapters/oclif/commands/actions/list.mjs +2 -2
- package/dist/adapters/oclif/commands/ai-instructions/create.mjs +1 -1
- package/dist/adapters/oclif/commands/ai-instructions/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/ai-instructions/get.mjs +1 -1
- package/dist/adapters/oclif/commands/ai-instructions/list.mjs +1 -1
- package/dist/adapters/oclif/commands/ai-instructions/update.mjs +1 -1
- package/dist/adapters/oclif/commands/api.mjs +2 -2
- package/dist/adapters/oclif/commands/apply.d.mts +3 -2
- package/dist/adapters/oclif/commands/apply.mjs +2 -2
- package/dist/adapters/oclif/commands/auth/login.d.mts +3 -2
- package/dist/adapters/oclif/commands/auth/login.mjs +3 -2
- package/dist/adapters/oclif/commands/auth/logout.d.mts +2 -1
- package/dist/adapters/oclif/commands/auth/logout.mjs +3 -2
- package/dist/adapters/oclif/commands/auth/status.d.mts +4 -2
- package/dist/adapters/oclif/commands/auth/status.mjs +23 -3
- package/dist/adapters/oclif/commands/connections/create.mjs +1 -1
- package/dist/adapters/oclif/commands/connections/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/connections/get.mjs +1 -1
- package/dist/adapters/oclif/commands/connections/list.mjs +1 -1
- package/dist/adapters/oclif/commands/connections/update.mjs +1 -1
- package/dist/adapters/oclif/commands/cubes/create.mjs +1 -1
- package/dist/adapters/oclif/commands/cubes/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/cubes/get.mjs +1 -1
- package/dist/adapters/oclif/commands/cubes/list.mjs +1 -1
- package/dist/adapters/oclif/commands/cubes/update.mjs +1 -1
- package/dist/adapters/oclif/commands/diff.d.mts +3 -2
- package/dist/adapters/oclif/commands/diff.mjs +2 -2
- package/dist/adapters/oclif/commands/gservice-account-keys/get.mjs +1 -1
- package/dist/adapters/oclif/commands/gservice-account-keys/reveal.mjs +2 -2
- package/dist/adapters/oclif/commands/gservice-accounts/create.mjs +1 -1
- package/dist/adapters/oclif/commands/gservice-accounts/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/gservice-accounts/get.mjs +1 -1
- package/dist/adapters/oclif/commands/gservice-accounts/list.mjs +1 -1
- package/dist/adapters/oclif/commands/init.d.mts +2 -1
- package/dist/adapters/oclif/commands/init.mjs +3 -2
- package/dist/adapters/oclif/commands/org/create.mjs +3 -2
- package/dist/adapters/oclif/commands/org/current.d.mts +12 -3
- package/dist/adapters/oclif/commands/org/current.mjs +27 -2
- package/dist/adapters/oclif/commands/org/get.mjs +3 -2
- package/dist/adapters/oclif/commands/org/list.mjs +15 -6
- package/dist/adapters/oclif/commands/org/switch.d.mts +3 -2
- package/dist/adapters/oclif/commands/org/switch.mjs +8 -2
- package/dist/adapters/oclif/commands/pull.d.mts +3 -2
- package/dist/adapters/oclif/commands/pull.mjs +2 -2
- package/dist/adapters/oclif/commands/score-groups/create.mjs +1 -1
- package/dist/adapters/oclif/commands/score-groups/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/score-groups/get.mjs +1 -1
- package/dist/adapters/oclif/commands/score-groups/list.mjs +1 -1
- package/dist/adapters/oclif/commands/score-groups/update.mjs +1 -1
- package/dist/adapters/oclif/commands/scores/create.mjs +1 -1
- package/dist/adapters/oclif/commands/scores/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/scores/list.mjs +1 -1
- package/dist/adapters/oclif/commands/scores/update.mjs +1 -1
- package/dist/adapters/oclif/commands/segments/create.mjs +1 -1
- package/dist/adapters/oclif/commands/segments/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/segments/evaluate.mjs +2 -2
- package/dist/adapters/oclif/commands/segments/get-evaluation-history.mjs +2 -2
- package/dist/adapters/oclif/commands/segments/get-version.mjs +2 -2
- package/dist/adapters/oclif/commands/segments/get.mjs +1 -1
- package/dist/adapters/oclif/commands/segments/list-versions.mjs +2 -2
- package/dist/adapters/oclif/commands/segments/list.mjs +1 -1
- package/dist/adapters/oclif/commands/segments/restore-version.mjs +2 -2
- package/dist/adapters/oclif/commands/segments/update.mjs +1 -1
- package/dist/adapters/oclif/commands/sources/create.d.mts +1 -1
- package/dist/adapters/oclif/commands/sources/create.mjs +2 -2
- package/dist/adapters/oclif/commands/sources/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/sources/get.mjs +1 -1
- package/dist/adapters/oclif/commands/sources/list-streams.mjs +2 -2
- package/dist/adapters/oclif/commands/sources/list.mjs +1 -1
- package/dist/adapters/oclif/commands/sources/update.d.mts +1 -1
- package/dist/adapters/oclif/commands/sources/update.mjs +2 -2
- package/dist/adapters/oclif/commands/status.d.mts +3 -2
- package/dist/adapters/oclif/commands/status.mjs +3 -3
- package/dist/adapters/oclif/commands/table-views/create.mjs +1 -1
- package/dist/adapters/oclif/commands/table-views/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/table-views/list.mjs +1 -1
- package/dist/adapters/oclif/commands/table-views/update.mjs +1 -1
- package/dist/adapters/oclif/commands/tables/create.mjs +1 -1
- package/dist/adapters/oclif/commands/tables/delete.mjs +1 -1
- package/dist/adapters/oclif/commands/tables/get.mjs +1 -1
- package/dist/adapters/oclif/commands/tables/list.mjs +1 -1
- package/dist/adapters/oclif/commands/tables/update.mjs +1 -1
- package/dist/{base.command-D7X3ZNtY.d.mts → base.command-BmddDbHa.d.mts} +4 -0
- package/dist/{base.command-cV5d65r8.mjs → base.command-D8taHOFF.mjs} +20 -2
- package/dist/context-D5uelKLe.d.mts +62 -0
- package/dist/{core-CMrP5BQS.mjs → core-B-IdeRNl.mjs} +71 -1
- package/dist/{factory-C6XLqhT9.mjs → factory-CCcimDhl.mjs} +3 -2
- package/dist/{index-BqKwXXAo.d.mts → index-D0ax2I61.d.mts} +25 -42
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +2 -2
- package/dist/{presets-CJbFbHlw.mjs → presets-Bb9gwgeh.mjs} +7 -2
- package/dist/templates/.devcontainer/Dockerfile +9 -0
- package/dist/templates/.devcontainer/devcontainer.json +4 -1
- package/dist/templates/gitignore +3 -1
- package/dist/{types-CGjxcj4L.d.mts → types-Bk2Cb5yt.d.mts} +6 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { c as StoredCredentials, i as OAuthCallbackResult, l as TokenResponse, r as ClerkUserInfo, s as OrganizationInfo } from "./types-
|
|
1
|
+
import { c as StoredCredentials, i as OAuthCallbackResult, l as TokenResponse, r as ClerkUserInfo, s as OrganizationInfo } from "./types-Bk2Cb5yt.mjs";
|
|
2
|
+
import { c as IacError, d as ResourceDoc, f as ResourceMetadata, l as IacErrorCode, m as SourceLocation, o as API_VERSION, p as ResourceState, s as IacAggregateError, t as EnvMismatch, u as ProjectFile } from "./context-D5uelKLe.mjs";
|
|
2
3
|
import * as _$_revos_api_client0 from "@revos/api-client";
|
|
3
4
|
import { Client, ConnectionResponseDto, CreateConnectionDto, UpdateConnectionDto } from "@revos/api-client";
|
|
4
5
|
import * as _$yaml from "yaml";
|
|
@@ -100,46 +101,6 @@ declare function unwrap<T extends {
|
|
|
100
101
|
request?: Request;
|
|
101
102
|
}): T["data"];
|
|
102
103
|
//#endregion
|
|
103
|
-
//#region src/core/iac/types.d.ts
|
|
104
|
-
declare const API_VERSION = "revos/v1";
|
|
105
|
-
interface SourceLocation {
|
|
106
|
-
file: string;
|
|
107
|
-
line?: number;
|
|
108
|
-
column?: number;
|
|
109
|
-
}
|
|
110
|
-
interface ProjectFile {
|
|
111
|
-
path: string;
|
|
112
|
-
metadata: {
|
|
113
|
-
name?: string;
|
|
114
|
-
orgId: string;
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
interface ResourceMetadata {
|
|
118
|
-
name: string;
|
|
119
|
-
id?: string;
|
|
120
|
-
}
|
|
121
|
-
type ResourceState = "ok" | "drifted" | "pending" | "tampered";
|
|
122
|
-
interface ResourceDoc<TSpec = unknown> {
|
|
123
|
-
kind: string;
|
|
124
|
-
metadata: ResourceMetadata;
|
|
125
|
-
spec: TSpec;
|
|
126
|
-
rawSpec: unknown;
|
|
127
|
-
source: SourceLocation;
|
|
128
|
-
docIndex: number;
|
|
129
|
-
document: Document;
|
|
130
|
-
}
|
|
131
|
-
type IacErrorCode = "apply" | "cycle" | "duplicate" | "env.missing" | "init.pull" | "invalid-name" | "pull" | "ref" | "schema" | "tampered" | "unknown-kind" | "yaml.parse";
|
|
132
|
-
interface IacError {
|
|
133
|
-
code: IacErrorCode;
|
|
134
|
-
message: string;
|
|
135
|
-
source?: SourceLocation;
|
|
136
|
-
hint?: string;
|
|
137
|
-
}
|
|
138
|
-
declare class IacAggregateError extends Error {
|
|
139
|
-
readonly errors: IacError[];
|
|
140
|
-
constructor(errors: IacError[]);
|
|
141
|
-
}
|
|
142
|
-
//#endregion
|
|
143
104
|
//#region src/core/iac/project.d.ts
|
|
144
105
|
declare const PROJECT_FILE = "revos.yaml";
|
|
145
106
|
declare const PROJECT_KIND = "Project";
|
|
@@ -560,6 +521,28 @@ declare namespace index_d_exports {
|
|
|
560
521
|
export { API_VERSION, AppliedResource, ApplyAction, ApplyOptions, ApplyResult, ConnectionSchedule, ConnectionSpec, ConnectionStatus, ConnectionsClient, CreateConnectionBody, CreateCubeBody, CubeSpec, CubesClient, DependencyGraph, DiffChange, DiffChangeKind, IacAggregateError, IacError, IacErrorCode, IdResolver, LoadOptions, LoadResult, LoadedFile, PROJECT_FILE, PROJECT_KIND, ProjectFile, ProjectNotFoundError, Provider, ProviderContext, ProviderCrudResult, ProviderRegistry, PullAction, PullOptions, PullResult, PulledResource, RefResolver, RemoteConnection, RemoteCube, ResourceDoc, ResourceIndex, ResourceMetadata, ResourceRef, ResourceState, ResourceStatus, SourceLocation, UpdateConnectionBody, UpdateCubeBody, address, apply, applyDocumentEdits, asResourceDoc, buildDependencyGraph, buildIacRegistry, buildIndex, connectionSpecSchema, createConnectionProvider, createCubeProvider, createSdkConnectionsClient, createSdkCubesClient, cubeSpecSchema, describeResources, diffSpecs, discoverProject, formatDiffLine, interpolateSpec, isResourceDocument, isValidName, loadResources, locationFromOffset, parseFile, parseFiles, projectRoot, pull, readResourceShape, resourceState, rewriteYamlFile, scanYamlFiles, setMetadataId, validateAll, validateResource, writeProjectFile };
|
|
561
522
|
}
|
|
562
523
|
//#endregion
|
|
524
|
+
//#region src/core/diagnostics.d.ts
|
|
525
|
+
declare function formatEnvMismatchError(mismatches: EnvMismatch[], projectPath: string): string;
|
|
526
|
+
declare function formatCredentialsMismatchWarning(args: {
|
|
527
|
+
credentialsOrgId: string;
|
|
528
|
+
projectOrgId: string;
|
|
529
|
+
projectPath: string;
|
|
530
|
+
}): string;
|
|
531
|
+
declare function formatProjectOrgFlagError(args: {
|
|
532
|
+
projectOrgId: string;
|
|
533
|
+
projectPath: string;
|
|
534
|
+
}): string;
|
|
535
|
+
declare function formatInProjectSwitchWarning(args: {
|
|
536
|
+
projectName?: string;
|
|
537
|
+
projectOrgId: string;
|
|
538
|
+
}): string;
|
|
539
|
+
declare function renderProjectContextLine(args: {
|
|
540
|
+
projectName?: string;
|
|
541
|
+
projectPath: string;
|
|
542
|
+
projectOrgId: string;
|
|
543
|
+
globalOrgId?: string;
|
|
544
|
+
}): string[];
|
|
545
|
+
//#endregion
|
|
563
546
|
//#region src/core/services/init.service.d.ts
|
|
564
547
|
interface InitOptions {
|
|
565
548
|
projectDir: string;
|
|
@@ -595,4 +578,4 @@ declare class InitService {
|
|
|
595
578
|
private renderTemplate;
|
|
596
579
|
}
|
|
597
580
|
//#endregion
|
|
598
|
-
export {
|
|
581
|
+
export { setAuthEnv as A, getConfig as B, buildAuthorizationUrl as C, getUserInfo as D, getActiveAuthConfig as E, getCredentialsPath as F, Config as H, isTokenExpired as I, loadCredentials as L, OAuthServerResult as M, startOAuthServer as N, refreshAccessToken as O, deleteCredentials as P, saveCredentials as R, PKCEChallenge as S, generatePKCEChallenge as T, ApiError as V, formatError as _, formatEnvMismatchError as a, AuthConfig as b, renderProjectContextLine as c, PulledResource as d, AppliedResource as f, resolveAppUrl as g, unwrap as h, formatCredentialsMismatchWarning as i, tokenResponseToCredentials as j, setAuthConfig as k, index_d_exports as l, createApiClient as m, InitResult as n, formatInProjectSwitchWarning as o, ApiClient as p, InitService as r, formatProjectOrgFlagError as s, InitOptions as t, ResourceStatus as u, sanitizeFileName as v, exchangeCodeForTokens as w, AuthEnv as x, AUTH_ENVS as y, DEFAULT_API_URL as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as OrgListResult, c as StoredCredentials, i as OAuthCallbackResult, l as TokenResponse, n as AuthStatusInfo, o as OrgSwitchResult, r as ClerkUserInfo, s as OrganizationInfo, t as AuthResult } from "./types-
|
|
3
|
-
|
|
1
|
+
import { A as setAuthEnv, B as getConfig, C as buildAuthorizationUrl, D as getUserInfo, E as getActiveAuthConfig, F as getCredentialsPath, H as Config, I as isTokenExpired, L as loadCredentials, M as OAuthServerResult, N as startOAuthServer, O as refreshAccessToken, P as deleteCredentials, R as saveCredentials, S as PKCEChallenge, T as generatePKCEChallenge, V as ApiError, _ as formatError, a as formatEnvMismatchError, b as AuthConfig, c as renderProjectContextLine, g as resolveAppUrl, h as unwrap, i as formatCredentialsMismatchWarning, j as tokenResponseToCredentials, k as setAuthConfig, l as index_d_exports, m as createApiClient, n as InitResult, o as formatInProjectSwitchWarning, p as ApiClient, r as InitService, s as formatProjectOrgFlagError, t as InitOptions, v as sanitizeFileName, w as exchangeCodeForTokens, x as AuthEnv, y as AUTH_ENVS, z as DEFAULT_API_URL } from "./index-D0ax2I61.mjs";
|
|
2
|
+
import { a as OrgListResult, c as StoredCredentials, i as OAuthCallbackResult, l as TokenResponse, n as AuthStatusInfo, o as OrgSwitchResult, r as ClerkUserInfo, s as OrganizationInfo, t as AuthResult } from "./types-Bk2Cb5yt.mjs";
|
|
3
|
+
import { a as validateEnvAgainstProject, i as resolveProjectContext, n as ProjectContext, r as isInsideProject, t as EnvMismatch } from "./context-D5uelKLe.mjs";
|
|
4
|
+
export { AUTH_ENVS, ApiClient, ApiError, AuthConfig, AuthEnv, AuthResult, AuthStatusInfo, ClerkUserInfo, Config, DEFAULT_API_URL, EnvMismatch, InitOptions, InitResult, InitService, OAuthCallbackResult, OAuthServerResult, OrgListResult, OrgSwitchResult, OrganizationInfo, PKCEChallenge, ProjectContext, StoredCredentials, TokenResponse, buildAuthorizationUrl, createApiClient, deleteCredentials, exchangeCodeForTokens, formatCredentialsMismatchWarning, formatEnvMismatchError, formatError, formatInProjectSwitchWarning, formatProjectOrgFlagError, generatePKCEChallenge, getActiveAuthConfig, getConfig, getCredentialsPath, getUserInfo, index_d_exports as iac, isInsideProject, isTokenExpired, loadCredentials, refreshAccessToken, renderProjectContextLine, resolveAppUrl, resolveProjectContext, sanitizeFileName, saveCredentials, setAuthConfig, setAuthEnv, startOAuthServer, tokenResponseToCredentials, unwrap, validateEnvAgainstProject };
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { AUTH_ENVS, ApiError, DEFAULT_API_URL, InitService, buildAuthorizationUrl, createApiClient, deleteCredentials, exchangeCodeForTokens, formatError, generatePKCEChallenge, getActiveAuthConfig, getConfig, getCredentialsPath, getUserInfo, iac_exports as iac, isTokenExpired, loadCredentials, refreshAccessToken, resolveAppUrl, sanitizeFileName, saveCredentials, setAuthConfig, setAuthEnv, startOAuthServer, tokenResponseToCredentials, unwrap };
|
|
1
|
+
import { A as generatePKCEChallenge, B as isTokenExpired, C as formatError, D as AUTH_ENVS, E as getConfig, F as setAuthEnv, H as saveCredentials, I as tokenResponseToCredentials, L as startOAuthServer, M as getUserInfo, N as refreshAccessToken, O as buildAuthorizationUrl, P as setAuthConfig, R as deleteCredentials, S as resolveAppUrl, T as DEFAULT_API_URL, U as ApiError, V as loadCredentials, a as formatInProjectSwitchWarning, b as createApiClient, c as isInsideProject, d as iac_exports, i as formatEnvMismatchError, j as getActiveAuthConfig, k as exchangeCodeForTokens, l as resolveProjectContext, o as formatProjectOrgFlagError, r as formatCredentialsMismatchWarning, s as renderProjectContextLine, t as InitService, u as validateEnvAgainstProject, w as sanitizeFileName, x as unwrap, z as getCredentialsPath } from "./core-B-IdeRNl.mjs";
|
|
2
|
+
export { AUTH_ENVS, ApiError, DEFAULT_API_URL, InitService, buildAuthorizationUrl, createApiClient, deleteCredentials, exchangeCodeForTokens, formatCredentialsMismatchWarning, formatEnvMismatchError, formatError, formatInProjectSwitchWarning, formatProjectOrgFlagError, generatePKCEChallenge, getActiveAuthConfig, getConfig, getCredentialsPath, getUserInfo, iac_exports as iac, isInsideProject, isTokenExpired, loadCredentials, refreshAccessToken, renderProjectContextLine, resolveAppUrl, resolveProjectContext, sanitizeFileName, saveCredentials, setAuthConfig, setAuthEnv, startOAuthServer, tokenResponseToCredentials, unwrap, validateEnvAgainstProject };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as createListRender, r as defineApiCommand, t as bodyFlag } from "./factory-
|
|
1
|
+
import { x as unwrap } from "./core-B-IdeRNl.mjs";
|
|
2
|
+
import { n as createListRender, r as defineApiCommand, t as bodyFlag } from "./factory-CCcimDhl.mjs";
|
|
3
3
|
import { Args, Flags } from "@oclif/core";
|
|
4
4
|
//#region src/adapters/oclif/presets.ts
|
|
5
5
|
function camelToKebab(s) {
|
|
@@ -27,6 +27,7 @@ function listCommand(spec) {
|
|
|
27
27
|
})]));
|
|
28
28
|
return defineApiCommand({
|
|
29
29
|
description: spec.description,
|
|
30
|
+
projectContextMode: spec.projectContextMode,
|
|
30
31
|
flags: {
|
|
31
32
|
...listFlags,
|
|
32
33
|
...pathFlags
|
|
@@ -49,6 +50,7 @@ function listCommand(spec) {
|
|
|
49
50
|
function getCommand(spec) {
|
|
50
51
|
return defineApiCommand({
|
|
51
52
|
description: spec.description,
|
|
53
|
+
projectContextMode: spec.projectContextMode,
|
|
52
54
|
args: { id: Args.string({
|
|
53
55
|
description: "Resource ID",
|
|
54
56
|
required: true
|
|
@@ -68,6 +70,7 @@ function createCommand(spec) {
|
|
|
68
70
|
})]));
|
|
69
71
|
return defineApiCommand({
|
|
70
72
|
description: spec.description,
|
|
73
|
+
projectContextMode: spec.projectContextMode,
|
|
71
74
|
flags: {
|
|
72
75
|
body: bodyFlag,
|
|
73
76
|
...pathFlags
|
|
@@ -85,6 +88,7 @@ function createCommand(spec) {
|
|
|
85
88
|
function updateCommand(spec) {
|
|
86
89
|
return defineApiCommand({
|
|
87
90
|
description: spec.description,
|
|
91
|
+
projectContextMode: spec.projectContextMode,
|
|
88
92
|
args: { id: Args.string({
|
|
89
93
|
description: "Resource ID",
|
|
90
94
|
required: true
|
|
@@ -104,6 +108,7 @@ function updateCommand(spec) {
|
|
|
104
108
|
function deleteCommand(spec) {
|
|
105
109
|
return defineApiCommand({
|
|
106
110
|
description: spec.description,
|
|
111
|
+
projectContextMode: spec.projectContextMode,
|
|
107
112
|
args: { id: Args.string({
|
|
108
113
|
description: "Resource ID",
|
|
109
114
|
required: true
|
|
@@ -12,3 +12,12 @@ RUN curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg \
|
|
|
12
12
|
&& apt-get update -q \
|
|
13
13
|
&& apt-get install -y --no-install-recommends google-cloud-cli \
|
|
14
14
|
&& rm -rf /var/lib/apt/lists/*
|
|
15
|
+
|
|
16
|
+
# GitHub CLI
|
|
17
|
+
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
|
|
18
|
+
| gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg \
|
|
19
|
+
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
|
|
20
|
+
> /etc/apt/sources.list.d/github-cli.list \
|
|
21
|
+
&& apt-get update -q \
|
|
22
|
+
&& apt-get install -y --no-install-recommends gh \
|
|
23
|
+
&& rm -rf /var/lib/apt/lists/*
|
package/dist/templates/gitignore
CHANGED
|
@@ -27,6 +27,12 @@ interface AuthStatusInfo {
|
|
|
27
27
|
credentialsPath?: string;
|
|
28
28
|
organizationId?: string;
|
|
29
29
|
organizationName?: string;
|
|
30
|
+
project?: {
|
|
31
|
+
name?: string;
|
|
32
|
+
path: string;
|
|
33
|
+
orgId: string;
|
|
34
|
+
inSyncWithGlobal: boolean;
|
|
35
|
+
};
|
|
30
36
|
}
|
|
31
37
|
type OrganizationInfo = OrganizationResponseDto["data"];
|
|
32
38
|
interface OrgListResult {
|