Skip to content

Commit

Permalink
remove capabilities:list command
Browse files Browse the repository at this point in the history
  • Loading branch information
rossiam committed Jun 12, 2020
1 parent 9ef005b commit b640911
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 59 deletions.
30 changes: 2 additions & 28 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ Commands are organized in a hierarchy that maps the API hierarchy.
* [`smartthings capabilities [ID] [VERSION]`](#smartthings-capabilities-id-version)
* [`smartthings capabilities:create`](#smartthings-capabilitiescreate)
* [`smartthings capabilities:delete [ID] [VERSION]`](#smartthings-capabilitiesdelete-id-version)
* [`smartthings capabilities:list [NAMESPACE]`](#smartthings-capabilitieslist-namespace)
* [`smartthings capabilities:list-namespaces`](#smartthings-capabilitieslist-namespaces)
* [`smartthings capabilities:list-standard`](#smartthings-capabilitieslist-standard)
* [`smartthings capabilities:presentation [ID] [VERSION]`](#smartthings-capabilitiespresentation-id-version)
Expand Down Expand Up @@ -515,34 +514,9 @@ OPTIONS
_See code: [dist/commands/capabilities/delete.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0/dist/commands/capabilities/delete.ts)_
## `smartthings capabilities:list [NAMESPACE]`
list all capabilities currently available in a user account
```
USAGE
$ smartthings capabilities:list [NAMESPACE]

ARGUMENTS
NAMESPACE the namespace that custom capabilities are assigned to

OPTIONS
-h, --help show CLI help
-j, --json use JSON format of input and/or output
-o, --output=output specify output file
-p, --profile=profile [default: default] configuration profile
-t, --token=token the auth token to use
-y, --yaml use YAML format of input and/or output
--compact use compact table format with no lines between body rows
--expanded use expanded table format with a line between each body row
--indent=indent specify indentation for formatting JSON or YAML output
```
_See code: [dist/commands/capabilities/list.ts](https://github.com/SmartThingsCommunity/smartthings-cli/blob/v0.0.0/dist/commands/capabilities/list.ts)_
## `smartthings capabilities:list-namespaces`
list all capabilities currently available in a user account
list all capability namespaces currently available in a user account
```
USAGE
Expand All @@ -564,7 +538,7 @@ _See code: [dist/commands/capabilities/list-namespaces.ts](https://github.com/Sm
## `smartthings capabilities:list-standard`
list all capabilities currently available in a user account
list all standard capabilities
```
USAGE
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/capabilities/list-namespaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CapabilityNamespace } from '@smartthings/core-sdk'


export default class CapabilitiesListNamespaces extends OutputAPICommand<CapabilityNamespace[]> {
static description = 'list all capabilities currently available in a user account'
static description = 'list all capability namespaces currently available in a user account'

static flags = OutputAPICommand.flags

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/capabilities/list-standard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { buildListTableOutput } from '../capabilities'


export default class CapabilitiesListStandard extends OutputAPICommand<CapabilitySummary[]> {
static description = 'list all capabilities currently available in a user account'
static description = 'list all standard capabilities'

static flags = OutputAPICommand.flags

Expand Down
29 changes: 0 additions & 29 deletions packages/cli/src/commands/capabilities/list.ts

This file was deleted.

0 comments on commit b640911

Please sign in to comment.