Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA81610A0B for ; Mon, 15 Jul 2013 03:29:04 +0000 (UTC) Received: (qmail 3616 invoked by uid 500); 15 Jul 2013 03:29:03 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 3557 invoked by uid 500); 15 Jul 2013 03:28:55 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 3547 invoked by uid 99); 15 Jul 2013 03:28:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jul 2013 03:28:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of iclelland@google.com designates 209.85.219.41 as permitted sender) Received: from [209.85.219.41] (HELO mail-oa0-f41.google.com) (209.85.219.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jul 2013 03:28:48 +0000 Received: by mail-oa0-f41.google.com with SMTP id n10so15259796oag.0 for ; Sun, 14 Jul 2013 20:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=NEUmODD4vIOGfTwR0oiGXBhbVR+YSw8s9GyZjrsGUGk=; b=CGREZKa+I2424J/+e5vRwK25cAt7mUrPeFWDF3f97/7okDU3KuHrkKHt1bo4ZmKBv5 11bw03Lg0c5DW1mCtyYceHmqhsamRaiPSO13OATORsB9EbKISXxGe9+F2XOqtR1e0TLZ UygXmUnfBq+USnofl/v6epKZFT5xRbdQ2D/Gdyh4BQbe/E6jUycbDSX4HjAVHAlVf+PC /4cf8g1AO0X/RAXMst+80InLC4Db1OT1+AN7pRf5MwxvV7RfQ6ltD4MtRGv9VeXONxoF 6rDfC9n1FwEjxSAl2OjtsHtNFec162GjML9U0v0vB1FlmHAZVfxriFef3pneS64P/Qk9 lAag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=NEUmODD4vIOGfTwR0oiGXBhbVR+YSw8s9GyZjrsGUGk=; b=XjhirjvWEfu84jWH/NYMHHK+Hsm4lSMUHL/J0hNGTSxJR7vvEMNoxWzLKEW4iQ62lq MUhNphxjx2wM1hX5mm2qtFQzPbk4E+So3yxs+HGOUhr0CXlfW34tY/eFlJz460ad9VHQ jkW2GBddDAPbCNbBCPaXP08XSULgn7zcLpOvQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type:x-gm-message-state; bh=NEUmODD4vIOGfTwR0oiGXBhbVR+YSw8s9GyZjrsGUGk=; b=cUi5wzI0KGiYd869rrOtw1W4c3iCpQFfCMjZ9bIpIg5IS8uuEGEKNUakGYvkaxS14N LM8UyBUhn4AL593CcK5f8rC6CwJnJ77GcrvhDZpqWZvJUjUlK1baqgzrMqMfN5/pt//I RPb0I3ma7AVVYoP23EV4uBraVQ4m7oXHpoclLC7pHPBPMY1l8UK/kEFcoPAHhdDYz9gU 1ewNcW0JMV8cN8rf+UocnA3LKNrrOVXudUcuVELvfl6HV8Ulfq0n6ibC/ebUpx3BZpvU LGtcqR3iYLxJLeltLKsZ7iAECYClmALxViwhaz6/SKN+VR+w7ll0Y3vzngZJOCqU6B3o VHTw== X-Received: by 10.60.96.9 with SMTP id do9mr42457429oeb.49.1373858907129; Sun, 14 Jul 2013 20:28:27 -0700 (PDT) MIME-Version: 1.0 Sender: iclelland@google.com Received: by 10.182.106.196 with HTTP; Sun, 14 Jul 2013 20:28:06 -0700 (PDT) From: Ian Clelland Date: Sun, 14 Jul 2013 23:28:06 -0400 X-Google-Sender-Auth: Czk-dPV9_gAPWALoYi9UEJET-V8 Message-ID: Subject: Bash command-line completion for CLI To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=089e01227f7a21a5c704e18474d6 X-Gm-Message-State: ALoCoQlenrLhpejT3WYdaU57B/2oN/XqvSDcz+HICFzcGt9SNOucGrKgovWf7EVCygoekGDlMfjDzh+cXvrkT3d5Nry7gy6fvAhCe5wES5bUXC4yhLEWXTxP+vxCP7ACFFR0iLHBZR0sF8XNwd86u2fiqsSQtD7pr5UBXvOOZUWeWlUZdA7w6sFCqLvgh0Xr97U3vSgpH8wd X-Virus-Checked: Checked by ClamAV on apache.org --089e01227f7a21a5c704e18474d6 Content-Type: text/plain; charset=UTF-8 So, after spending two days typing out cordova-cli command lines by hand (nice long ones like "cordova plugin rm org.apache.cordova.core.file-transfer", mostly), I finally broke down and added proper completion for my shell. I've created a JIRA issue to hold the code, as a "New Feature" ticket. I'm not planning on committing anything like this until it's had a bit wider exposure, if people find it useful. I've been using it daily since writing it, and a few others here have tried it, and their feedback has made it more useful and stable. It's CB-4200, if anybody wants to try it. Source it in your .bashrc file on OS X, or add it to /etc/bash_completion.d on debian-based systems. Ian --089e01227f7a21a5c704e18474d6--