packages feed

risk-weaver 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+32/−1 lines, 2 files

Files

+ bash_completion.d/risk-weaver-exe view
@@ -0,0 +1,27 @@+#!/usr/bin/env bash+PROGRAM=risk-weaver-exe+PROGRAM=risk-weaver-exe++__object_detection_dsl_exe_bash_complete() {+    local cur prev opts base+    COMPREPLY=()+    cur="${COMP_WORDS[COMP_CWORD]}"+    prev="${COMP_WORDS[COMP_CWORD-1]}"++    # The first argument is the command name+    if [[ ${COMP_CWORD} == 1 ]] ; then+        opts=$(risk-weaver-exe 2>&1 | awk '{if (a) {print $1;} if ("Available commands:" == $0) {a = 1}}')+        COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )+        return 0+    # elif [ ${COMP_CWORD} -gt 1 ] ; then+    #     #echo "${COMP_WORDS[1]}" +    #     opts=$(risk-weaver-exe "${COMP_WORDS[1]}" --help | grep ' -.*' | sed -e 's/^ *//g'  -e 's/[, ].*//g')+    #     COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )+    #     return 0+    else +        COMPREPLY=()+    fi+    return 0+}++complete  -o bashdefault -o default -F __object_detection_dsl_exe_bash_complete risk-weaver-exe 
risk-weaver.cabal view
@@ -8,7 +8,7 @@ -- PVP summary:     +-+------- breaking API changes --                  | | +----- non-breaking API additions --                  | | | +--- code changes with no API change-version:            0.1.0.0+version:            0.1.0.1  synopsis: A DSL for Risk-oriented Object Detection Requirements description: Please see the README on GitHub at <https://github.com/jst-qaml/risk-weaver#readme>@@ -22,6 +22,10 @@ build-type:         Simple  extra-doc-files:    CHANGELOG.md+extra-source-files: bash_completion.d/risk-weaver-exe+source-repository head+  type: git+  location: https://github.com/jst-qaml/risk-weaver  common warnings     ghc-options: -Wall