MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / Command

Interface Command

cli/src/cli/interface.ts:12–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import type { CliMetrics } from '../telemetry';
11import { Paths } from './paths';
12
13export interface Command {
14 group: string;
15 name: string;
16 help?: string;
17 isAuthAction?: boolean;
18 isPublicAction?: boolean;
19 args?: string[];
20 options?: Options;
21
22 action: (args: ActionArgs) => Promise<void>;
23}
24
25export interface Options {

Callers

nothing calls this directly

Implementers 15

CommandSharingRemovecli/src/commands/sharing/commandSharin
CommandInvitationAcceptcli/src/commands/sharing/commandInvita
CommandSharingReportcli/src/commands/sharing/commandSharin
CommandInvitationListcli/src/commands/sharing/commandInvita
CommandSharingStatuscli/src/commands/sharing/commandSharin
CommandSharingRemoveUrlcli/src/commands/sharing/commandSharin
CommandSharingInvitecli/src/commands/sharing/commandSharin
CommandSharingSetUrlcli/src/commands/sharing/commandSharin
CommandInvitationRejectcli/src/commands/sharing/commandInvita
CommandAuthLogincli/src/commands/auth/commandAuthLogin
CommandAuthLogoutcli/src/commands/auth/commandAuthLogou
CommandFileSystemDownloadcli/src/commands/fileSystem/commandFil

Calls

no outgoing calls

Tested by

no test coverage detected