Skip to content

Commit

Permalink
Add autocomplete topic (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
RasPhilCo committed Jul 12, 2018
1 parent e8a2153 commit adfcfab
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 31 deletions.
1 change: 1 addition & 0 deletions packages/heroku-cli-autocomplete/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @heroku/cli
12 changes: 12 additions & 0 deletions packages/heroku-cli-autocomplete/src/commands/ac.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// @flow
import {Command} from 'cli-engine-heroku'

export default class extends Command {
static topic = 'ac'
static description = 'ac'
static hidden = true

async run () {
this.out.debug('ac present')
}
}
16 changes: 0 additions & 16 deletions packages/heroku-cli-autocomplete/src/commands/hello.js

This file was deleted.

13 changes: 0 additions & 13 deletions packages/heroku-cli-autocomplete/src/commands/hello.test.js

This file was deleted.

5 changes: 3 additions & 2 deletions packages/heroku-cli-autocomplete/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import fs from 'fs-extra'
import path from 'path'

export const topic = {
name: 'hello',
description: 'says hello (example plugin)'
name: 'ac',
description: 'manage cli autocompletion',
hidden: true
}

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

0 comments on commit adfcfab

Please sign in to comment.