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 { Paths } from './paths';
11
12export interface Command {
13 group: string;
14 name: string;
15 help?: string;
16 isAuthAction?: boolean;
17 isPublicAction?: boolean;
18 args?: string[];
19 options?: Options;
20
21 action: (args: ActionArgs) => Promise<void>;
22}
23
24export interface Options {
25 [longOption: string]: Option;

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