@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.
@@ -1,14 +1,3 @@
1
- export interface ParsedArgs {
2
- command: string;
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;
@@ -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";
@@ -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 function runCommand(parsed: ParsedArgs, dependencies?: CommandDependencies): Promise<CommandResult>;
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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizom/ops",
3
- "version": "0.2.0-alpha.240",
3
+ "version": "0.2.0-alpha.241",
4
4
  "description": "Operator CLI for managing private brain fleet registry repos",
5
5
  "keywords": [
6
6
  "brains",