-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathcmd-scan.mts
More file actions
40 lines (39 loc) · 1.2 KB
/
Copy pathcmd-scan.mts
File metadata and controls
40 lines (39 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { cmdScanCreate } from './cmd-scan-create.mts'
import { cmdScanDel } from './cmd-scan-del.mts'
import { cmdScanDiff } from './cmd-scan-diff.mts'
import { cmdScanGithub } from './cmd-scan-github.mts'
import { cmdScanList } from './cmd-scan-list.mts'
import { cmdScanMetadata } from './cmd-scan-metadata.mts'
import { cmdScanReach } from './cmd-scan-reach.mts'
import { cmdScanReport } from './cmd-scan-report.mts'
import { cmdScanSetup } from './cmd-scan-setup.mts'
import { cmdScanView } from './cmd-scan-view.mts'
import { defineSubcommandGroup } from '../../util/cli/define-subcommand-group.mts'
export const cmdScan = defineSubcommandGroup({
name: 'scan',
description: 'Manage Socket scans',
subcommands: {
create: cmdScanCreate,
del: cmdScanDel,
diff: cmdScanDiff,
github: cmdScanGithub,
list: cmdScanList,
metadata: cmdScanMetadata,
reach: cmdScanReach,
report: cmdScanReport,
setup: cmdScanSetup,
view: cmdScanView,
},
aliases: {
meta: {
description: cmdScanMetadata.description,
hidden: true,
argv: ['metadata'],
},
reachability: {
description: cmdScanReach.description,
hidden: true,
argv: ['reach'],
},
},
})