New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to bypass check for argcomplete via configfiles #49

Closed
ryran opened this Issue Nov 22, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@ryran
Owner

ryran commented Nov 22, 2016

So that people who don't want it don't have to see this message on stderr at every startup:

Missing optional python module: argcomplete
Install it to enable bash auto-magic tab-completion:
  yum/dnf install python-pip; pip install argcomplete
  activate-global-python-argcomplete; (Then restart shell)

@ryran ryran added the enhancement label Nov 22, 2016

@ryran ryran self-assigned this Nov 22, 2016

@ryran

This comment has been minimized.

Show comment
Hide comment
@ryran

ryran Nov 24, 2016

Owner

The message now reads:

~]$ rhsecapi
Missing optional python module: argcomplete

  To enable bash auto-magic tab-completion, install it:
    yum/dnf install python-pip
    pip install argcomplete
    activate-global-python-argcomplete
    (Open new shell)

  To skip using argcomplete AND disable future printing of this message:
    touch ~/.rhsecapi-no-argcomplete
      OR
    touch /etc/rhsecapi-no-argcomplete

usage: rhsecapi [--q-before YYYY-MM-DD] [--q-after YYYY-MM-DD] [--q-bug BZID]
                [--q-advisory RHSA] [--q-severity IMPACT] [--q-package PKG]
                [--q-cwe CWEID] [--q-cvss SCORE] [--q-cvss3 SCORE] [--q-empty]
                [--q-pagesize PAGESZ] [--q-pagenum PAGENUM] [--q-raw RAWQUERY]
                [--q-iava IAVA] [-s] [-0] [-f FIELDS] [-a] [-m] [-p PRODUCT]
                [-j] [-u] [-w [WIDTH]] [-c] [-l {debug,info,notice,warning}]
                [-t THREDS] [-P] [-E [DAYS]] [--dryrun] [-h] [--help]
                [CVE-YYYY-NNNN [CVE-YYYY-NNNN ...]]

Run rhsecapi --help for full help page

VERSION:
  rhsecapi v1.0.0_rc6 last mod 2016/11/24
  See <http://github.com/ryran/rhsecapi> to report bugs or RFEs

Yay!

Owner

ryran commented Nov 24, 2016

The message now reads:

~]$ rhsecapi
Missing optional python module: argcomplete

  To enable bash auto-magic tab-completion, install it:
    yum/dnf install python-pip
    pip install argcomplete
    activate-global-python-argcomplete
    (Open new shell)

  To skip using argcomplete AND disable future printing of this message:
    touch ~/.rhsecapi-no-argcomplete
      OR
    touch /etc/rhsecapi-no-argcomplete

usage: rhsecapi [--q-before YYYY-MM-DD] [--q-after YYYY-MM-DD] [--q-bug BZID]
                [--q-advisory RHSA] [--q-severity IMPACT] [--q-package PKG]
                [--q-cwe CWEID] [--q-cvss SCORE] [--q-cvss3 SCORE] [--q-empty]
                [--q-pagesize PAGESZ] [--q-pagenum PAGENUM] [--q-raw RAWQUERY]
                [--q-iava IAVA] [-s] [-0] [-f FIELDS] [-a] [-m] [-p PRODUCT]
                [-j] [-u] [-w [WIDTH]] [-c] [-l {debug,info,notice,warning}]
                [-t THREDS] [-P] [-E [DAYS]] [--dryrun] [-h] [--help]
                [CVE-YYYY-NNNN [CVE-YYYY-NNNN ...]]

Run rhsecapi --help for full help page

VERSION:
  rhsecapi v1.0.0_rc6 last mod 2016/11/24
  See <http://github.com/ryran/rhsecapi> to report bugs or RFEs

Yay!

ryran added a commit that referenced this issue Nov 24, 2016

@ryran ryran closed this Nov 24, 2016

@ryran ryran changed the title from Add ability to bypass check for argcomplete? to Add ability to bypass check for argcomplete via configfiles Nov 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment