@rizom/ops 0.2.0-alpha.240 → 0.2.0-alpha.241
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/dist/brains-ops.js +78 -78
- package/dist/deploy.js +32 -32
- package/dist/index.js +104 -104
- package/dist/parse-args.d.ts +2 -13
- package/dist/push-secrets.d.ts +1 -1
- package/dist/run-command.d.ts +4 -2
- package/package.json +1 -1
package/dist/parse-args.d.ts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
args: string[];
|
|
4
|
-
flags: {
|
|
5
|
-
help?: boolean | undefined;
|
|
6
|
-
version?: boolean | undefined;
|
|
7
|
-
dryRun?: boolean | undefined;
|
|
8
|
-
pushTo?: string | undefined;
|
|
9
|
-
cohort?: string | undefined;
|
|
10
|
-
anchorId?: string | undefined;
|
|
11
|
-
handle?: string | undefined;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
1
|
+
import { type ParsedCliArgs } from "@brains/deploy-support/cli-kit";
|
|
2
|
+
export type ParsedArgs = ParsedCliArgs;
|
|
14
3
|
export declare function parseArgs(argv: string[]): ParsedArgs;
|
package/dist/push-secrets.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { pushSecretsToBackend, type PushSecretsOptions, type SecretPair, } from "@brains/deploy-support/push-secrets";
|
|
1
|
+
export { logKeyGroup, logMissingSecrets, pushSecretsToBackend, type PushSecretsOptions, type SecretPair, } from "@brains/deploy-support/push-secrets";
|
|
2
2
|
export { normalizePushTarget } from "@brains/deploy-support/push-target";
|
package/dist/run-command.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FetchLike } from "@brains/deploy-support/origin-ca";
|
|
2
|
+
import { type CommandDefinition, type FlagDefinitions, type ParsedCliArgs } from "@brains/deploy-support/cli-kit";
|
|
2
3
|
import type { LoadPilotRegistryOptions } from "./load-registry";
|
|
3
4
|
import { type LookupHost } from "./observed-status";
|
|
4
|
-
import type { ParsedArgs } from "./parse-args";
|
|
5
5
|
import { type RunCommand as OpsRunCommand } from "./run-subprocess";
|
|
6
6
|
import { type SshKeygen } from "./ssh-key-bootstrap";
|
|
7
7
|
import type { UserRunner } from "./user-runner";
|
|
@@ -18,4 +18,6 @@ export interface CommandDependencies extends LoadPilotRegistryOptions {
|
|
|
18
18
|
bootstrapRunCommand?: OpsRunCommand | undefined;
|
|
19
19
|
sshKeygen?: SshKeygen | undefined;
|
|
20
20
|
}
|
|
21
|
-
export declare
|
|
21
|
+
export declare const globalFlags: FlagDefinitions;
|
|
22
|
+
export declare const commands: readonly CommandDefinition<CommandDependencies, CommandResult>[];
|
|
23
|
+
export declare function runCommand(parsed: ParsedCliArgs, dependencies?: CommandDependencies): Promise<CommandResult>;
|