<commit_before>'use strict'

let cli = require('heroku-cli-util')
let co = require('co')

function * run (context, heroku) {
  let drain = yield heroku.request({
    method: 'delete',
    path: `/apps/${context.app}/log-drains/${encodeURIComponent(context.args.url)}`
  })
  cli.log(`Successfully removed drain ${cli.color.cyan(drain.url)}`)
}

module.exports = {
  topic: 'drains',
  command: 'remove',
  description: 'adds a log drain to an app',
  needsApp: true,
  needsAuth: true,
  args: [{name: 'url'}],
  usage: 'drains:remove [URL|TOKEN]',
  run: cli.command(co.wrap(run))
}<commit_msg>fix help text (#124)<commit_after>'use strict'

let cli = require('heroku-cli-util')
let co = require('co')

function * run (context, heroku) {
  let drain = yield heroku.request({
    method: 'delete',
    path: `/apps/${context.app}/log-drains/${encodeURIComponent(context.args.url)}`
  })
  cli.log(`Successfully removed drain ${cli.color.cyan(drain.url)}`)
}

module.exports = {
  topic: 'drains',
  command: 'remove',
  description: 'removes a log drain from an app',
  needsApp: true,
  needsAuth: true,
  args: [{name: 'url'}],
  usage: 'drains:remove [URL|TOKEN]',
  run: cli.command(co.wrap(run))
}
{'fraction_non_alphanumeric': 0.18386023294509152, 'fraction_numerical': 0.0024958402662229617, 'mean_word_length': 4.418918918918919, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7188206', 'n_tokens_mistral': 439, 'n_tokens_neox': 441, 'n_words': 101}