Skip to content

Commit adfcfab

Browse files
committed
Add autocomplete topic (#1)
1 parent e8a2153 commit adfcfab

File tree

5 files changed

+16
-31
lines changed

5 files changed

+16
-31
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @heroku/cli
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// @flow
2+
import {Command} from 'cli-engine-heroku'
3+
4+
export default class extends Command {
5+
static topic = 'ac'
6+
static description = 'ac'
7+
static hidden = true
8+
9+
async run () {
10+
this.out.debug('ac present')
11+
}
12+
}

packages/heroku-cli-autocomplete/src/commands/hello.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/heroku-cli-autocomplete/src/commands/hello.test.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/heroku-cli-autocomplete/src/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import fs from 'fs-extra'
44
import path from 'path'
55

66
export const topic = {
7-
name: 'hello',
8-
description: 'says hello (example plugin)'
7+
name: 'ac',
8+
description: 'manage cli autocompletion',
9+
hidden: true
910
}
1011

1112
let dir = path.join(__dirname, 'commands')

0 commit comments

Comments
 (0)