MCPcopy Create free account
hub / github.com/SmartThingsCommunity/smartthings-cli / builder

Function builder

src/commands/capabilities/namespaces.ts:27–35  ·  view source on GitHub ↗
(yargs: Argv)

Source from the content-addressed store, hash-verified

25const describe = 'list all capability namespaces currently available in a user account'
26
27const builder = (yargs: Argv): Argv<CommandArgs> =>
28 outputListBuilder(apiOrganizationCommandBuilder(yargs))
29 .example([
30 [
31 '$0 capabilities:namespaces',
32 'list namespaces',
33 ],
34 ])
35 .epilog(buildEpilog({ command }))
36
37const handler = async (argv: ArgumentsCamelCase<CommandArgs>): Promise<void> => {
38 const command = await apiOrganizationCommand(argv)

Callers

nothing calls this directly

Calls 2

buildEpilogFunction · 0.85

Tested by

no test coverage detected