├── .appveyor.yml ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .gitmodules ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── RELEASE.md ├── go ├── go-core.bash ├── go-template ├── lib ├── archive ├── bats-main ├── bats │ ├── assertion-test-helpers │ ├── assertions │ ├── background-process │ ├── helper-function │ └── helpers ├── complete ├── diff ├── existence ├── file ├── fileutil ├── format ├── internal │ ├── argv │ ├── command_descriptions │ ├── commands │ ├── complete │ ├── env │ │ └── bash │ ├── path │ ├── set-search-paths │ └── use ├── kcov-ubuntu ├── log ├── path ├── platform ├── portability ├── prompt ├── strings ├── subcommands ├── testing │ ├── environment │ ├── log │ ├── stack-trace │ └── stubbing └── validation ├── libexec ├── aliases ├── builtins ├── commands ├── complete ├── demo-core ├── demo-core.d │ ├── log │ ├── prompt │ └── select-option ├── edit ├── env ├── fullpath ├── get ├── get.d │ ├── file │ └── git-repo ├── glob ├── goinfo ├── help ├── modules ├── new ├── null ├── path ├── plugins ├── run ├── unenv └── vars ├── scripts ├── changes └── test └── tests ├── aliases.bats ├── archive └── create-gzipped-tarball.bats ├── argv.bats ├── assertion-test-helpers.bash ├── assertion-test-helpers.bats ├── assertions.bats ├── bats-background-process.bats ├── bats-helper-function.bats ├── bats-helpers.bats ├── bats-helpers └── test-break-after-num-iterations.bats ├── builtins.bats ├── builtins └── doc-only-scripts.bats ├── changes.bats ├── command-descriptions.bats ├── command-descriptions └── from-file.bats ├── commands ├── find.bats ├── helpers.bash └── main.bats ├── complete.bats ├── complete ├── command-path.bats ├── compgen.bats └── remove-completions.bats ├── core.bats ├── core ├── columns.bats ├── inject-paths.bats ├── plugin-scope-execution.bats ├── plugin-scope-variable-values.bats ├── print-stack-trace.bats ├── printf.bats ├── run-command-script.bats ├── search-plugins.bats ├── set-scripts-dir.bats └── standalone.bats ├── demo-core.bats ├── demo-core ├── log.bats ├── prompt.bats └── select-option.bats ├── diff ├── check-diff-editor.bats ├── diff-directories.bats └── diff-files.bats ├── edit.bats ├── env.bats ├── env └── bash.bats ├── environment.bash ├── existence.bats ├── file ├── close_fds.bats ├── fds-printf.bats └── open-or-dup.bats ├── fileutil ├── collect-file-paths.bats ├── copy-files-safely.bats ├── copy-files-safely │ ├── parse-args.bats │ └── set-source-files.bats ├── create-dirs.bats └── mirror-directory.bats ├── format.bats ├── fullpath.bats ├── get.bats ├── get ├── file.bats └── git-repo.bats ├── glob ├── arg-completion.bats └── main.bats ├── goinfo.bats ├── help.bats ├── kcov.bats ├── log ├── add-output-file.bats ├── add-update.bats ├── filters.bats ├── log-command.bats ├── main.bats ├── setup-project.bats └── timestamp.bats ├── modules ├── arg-completion.bats ├── help.bats ├── helpers.bash ├── main.bats ├── use.bats └── use │ └── plugins.bats ├── new.bats ├── null.bats ├── path-module ├── add-parent-dir-if-relative-path.bats ├── canonicalize-path.bats ├── realpath.bats ├── walk-file-system.bats └── walk-path-forward.bats ├── path.bats ├── path ├── init-constants.bats ├── list-available-commands.bats └── set-path-and-argv.bats ├── platform.bats ├── plugins.bats ├── portability └── native-file-path-or-url.bats ├── prompt ├── prompt-for-input.bats ├── prompt-for-safe-input.bats ├── prompt-for-yes-or-no.bats ├── read-prompt-response.bats └── select-option.bats ├── strings ├── common-parent-path.bats ├── common-prefix.bats ├── helpers.bash ├── join.bats ├── split.bats └── trim.bats ├── subcommands.bats ├── template.bats ├── test.bats ├── testing ├── environment.bats ├── environment │ └── test-compgen.bats ├── log.bats ├── log │ └── assertions.bats ├── stack-trace.bats └── stubbing.bats ├── validation.bats └── vars.bats /.appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/.appveyor.yml -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/RELEASE.md -------------------------------------------------------------------------------- /go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/go -------------------------------------------------------------------------------- /go-core.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/go-core.bash -------------------------------------------------------------------------------- /go-template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/go-template -------------------------------------------------------------------------------- /lib/archive: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/archive -------------------------------------------------------------------------------- /lib/bats-main: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/bats-main -------------------------------------------------------------------------------- /lib/bats/assertion-test-helpers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/bats/assertion-test-helpers -------------------------------------------------------------------------------- /lib/bats/assertions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/bats/assertions -------------------------------------------------------------------------------- /lib/bats/background-process: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/bats/background-process -------------------------------------------------------------------------------- /lib/bats/helper-function: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/bats/helper-function -------------------------------------------------------------------------------- /lib/bats/helpers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/bats/helpers -------------------------------------------------------------------------------- /lib/complete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/complete -------------------------------------------------------------------------------- /lib/diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/diff -------------------------------------------------------------------------------- /lib/existence: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/existence -------------------------------------------------------------------------------- /lib/file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/file -------------------------------------------------------------------------------- /lib/fileutil: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/fileutil -------------------------------------------------------------------------------- /lib/format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/format -------------------------------------------------------------------------------- /lib/internal/argv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/internal/argv -------------------------------------------------------------------------------- /lib/internal/command_descriptions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/internal/command_descriptions -------------------------------------------------------------------------------- /lib/internal/commands: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/internal/commands -------------------------------------------------------------------------------- /lib/internal/complete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/internal/complete -------------------------------------------------------------------------------- /lib/internal/env/bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/internal/env/bash -------------------------------------------------------------------------------- /lib/internal/path: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/internal/path -------------------------------------------------------------------------------- /lib/internal/set-search-paths: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/internal/set-search-paths -------------------------------------------------------------------------------- /lib/internal/use: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/internal/use -------------------------------------------------------------------------------- /lib/kcov-ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/kcov-ubuntu -------------------------------------------------------------------------------- /lib/log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/log -------------------------------------------------------------------------------- /lib/path: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/path -------------------------------------------------------------------------------- /lib/platform: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/platform -------------------------------------------------------------------------------- /lib/portability: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/portability -------------------------------------------------------------------------------- /lib/prompt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/prompt -------------------------------------------------------------------------------- /lib/strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/strings -------------------------------------------------------------------------------- /lib/subcommands: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/subcommands -------------------------------------------------------------------------------- /lib/testing/environment: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/testing/environment -------------------------------------------------------------------------------- /lib/testing/log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/testing/log -------------------------------------------------------------------------------- /lib/testing/stack-trace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/testing/stack-trace -------------------------------------------------------------------------------- /lib/testing/stubbing: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/testing/stubbing -------------------------------------------------------------------------------- /lib/validation: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/lib/validation -------------------------------------------------------------------------------- /libexec/aliases: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/aliases -------------------------------------------------------------------------------- /libexec/builtins: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/builtins -------------------------------------------------------------------------------- /libexec/commands: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/commands -------------------------------------------------------------------------------- /libexec/complete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/complete -------------------------------------------------------------------------------- /libexec/demo-core: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/demo-core -------------------------------------------------------------------------------- /libexec/demo-core.d/log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/demo-core.d/log -------------------------------------------------------------------------------- /libexec/demo-core.d/prompt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/demo-core.d/prompt -------------------------------------------------------------------------------- /libexec/demo-core.d/select-option: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/demo-core.d/select-option -------------------------------------------------------------------------------- /libexec/edit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/edit -------------------------------------------------------------------------------- /libexec/env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/env -------------------------------------------------------------------------------- /libexec/fullpath: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/fullpath -------------------------------------------------------------------------------- /libexec/get: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/get -------------------------------------------------------------------------------- /libexec/get.d/file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/get.d/file -------------------------------------------------------------------------------- /libexec/get.d/git-repo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/get.d/git-repo -------------------------------------------------------------------------------- /libexec/glob: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/glob -------------------------------------------------------------------------------- /libexec/goinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/goinfo -------------------------------------------------------------------------------- /libexec/help: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/help -------------------------------------------------------------------------------- /libexec/modules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/modules -------------------------------------------------------------------------------- /libexec/new: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/new -------------------------------------------------------------------------------- /libexec/null: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/null -------------------------------------------------------------------------------- /libexec/path: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/path -------------------------------------------------------------------------------- /libexec/plugins: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/plugins -------------------------------------------------------------------------------- /libexec/run: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/run -------------------------------------------------------------------------------- /libexec/unenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/unenv -------------------------------------------------------------------------------- /libexec/vars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/libexec/vars -------------------------------------------------------------------------------- /scripts/changes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/scripts/changes -------------------------------------------------------------------------------- /scripts/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/scripts/test -------------------------------------------------------------------------------- /tests/aliases.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/aliases.bats -------------------------------------------------------------------------------- /tests/archive/create-gzipped-tarball.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/archive/create-gzipped-tarball.bats -------------------------------------------------------------------------------- /tests/argv.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/argv.bats -------------------------------------------------------------------------------- /tests/assertion-test-helpers.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/assertion-test-helpers.bash -------------------------------------------------------------------------------- /tests/assertion-test-helpers.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/assertion-test-helpers.bats -------------------------------------------------------------------------------- /tests/assertions.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/assertions.bats -------------------------------------------------------------------------------- /tests/bats-background-process.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/bats-background-process.bats -------------------------------------------------------------------------------- /tests/bats-helper-function.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/bats-helper-function.bats -------------------------------------------------------------------------------- /tests/bats-helpers.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/bats-helpers.bats -------------------------------------------------------------------------------- /tests/bats-helpers/test-break-after-num-iterations.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/bats-helpers/test-break-after-num-iterations.bats -------------------------------------------------------------------------------- /tests/builtins.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/builtins.bats -------------------------------------------------------------------------------- /tests/builtins/doc-only-scripts.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/builtins/doc-only-scripts.bats -------------------------------------------------------------------------------- /tests/changes.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/changes.bats -------------------------------------------------------------------------------- /tests/command-descriptions.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/command-descriptions.bats -------------------------------------------------------------------------------- /tests/command-descriptions/from-file.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/command-descriptions/from-file.bats -------------------------------------------------------------------------------- /tests/commands/find.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/commands/find.bats -------------------------------------------------------------------------------- /tests/commands/helpers.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/commands/helpers.bash -------------------------------------------------------------------------------- /tests/commands/main.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/commands/main.bats -------------------------------------------------------------------------------- /tests/complete.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/complete.bats -------------------------------------------------------------------------------- /tests/complete/command-path.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/complete/command-path.bats -------------------------------------------------------------------------------- /tests/complete/compgen.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/complete/compgen.bats -------------------------------------------------------------------------------- /tests/complete/remove-completions.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/complete/remove-completions.bats -------------------------------------------------------------------------------- /tests/core.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core.bats -------------------------------------------------------------------------------- /tests/core/columns.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/columns.bats -------------------------------------------------------------------------------- /tests/core/inject-paths.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/inject-paths.bats -------------------------------------------------------------------------------- /tests/core/plugin-scope-execution.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/plugin-scope-execution.bats -------------------------------------------------------------------------------- /tests/core/plugin-scope-variable-values.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/plugin-scope-variable-values.bats -------------------------------------------------------------------------------- /tests/core/print-stack-trace.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/print-stack-trace.bats -------------------------------------------------------------------------------- /tests/core/printf.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/printf.bats -------------------------------------------------------------------------------- /tests/core/run-command-script.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/run-command-script.bats -------------------------------------------------------------------------------- /tests/core/search-plugins.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/search-plugins.bats -------------------------------------------------------------------------------- /tests/core/set-scripts-dir.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/set-scripts-dir.bats -------------------------------------------------------------------------------- /tests/core/standalone.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/core/standalone.bats -------------------------------------------------------------------------------- /tests/demo-core.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/demo-core.bats -------------------------------------------------------------------------------- /tests/demo-core/log.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/demo-core/log.bats -------------------------------------------------------------------------------- /tests/demo-core/prompt.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/demo-core/prompt.bats -------------------------------------------------------------------------------- /tests/demo-core/select-option.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/demo-core/select-option.bats -------------------------------------------------------------------------------- /tests/diff/check-diff-editor.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/diff/check-diff-editor.bats -------------------------------------------------------------------------------- /tests/diff/diff-directories.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/diff/diff-directories.bats -------------------------------------------------------------------------------- /tests/diff/diff-files.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/diff/diff-files.bats -------------------------------------------------------------------------------- /tests/edit.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/edit.bats -------------------------------------------------------------------------------- /tests/env.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/env.bats -------------------------------------------------------------------------------- /tests/env/bash.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/env/bash.bats -------------------------------------------------------------------------------- /tests/environment.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/environment.bash -------------------------------------------------------------------------------- /tests/existence.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/existence.bats -------------------------------------------------------------------------------- /tests/file/close_fds.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/file/close_fds.bats -------------------------------------------------------------------------------- /tests/file/fds-printf.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/file/fds-printf.bats -------------------------------------------------------------------------------- /tests/file/open-or-dup.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/file/open-or-dup.bats -------------------------------------------------------------------------------- /tests/fileutil/collect-file-paths.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/fileutil/collect-file-paths.bats -------------------------------------------------------------------------------- /tests/fileutil/copy-files-safely.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/fileutil/copy-files-safely.bats -------------------------------------------------------------------------------- /tests/fileutil/copy-files-safely/parse-args.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/fileutil/copy-files-safely/parse-args.bats -------------------------------------------------------------------------------- /tests/fileutil/copy-files-safely/set-source-files.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/fileutil/copy-files-safely/set-source-files.bats -------------------------------------------------------------------------------- /tests/fileutil/create-dirs.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/fileutil/create-dirs.bats -------------------------------------------------------------------------------- /tests/fileutil/mirror-directory.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/fileutil/mirror-directory.bats -------------------------------------------------------------------------------- /tests/format.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/format.bats -------------------------------------------------------------------------------- /tests/fullpath.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/fullpath.bats -------------------------------------------------------------------------------- /tests/get.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/get.bats -------------------------------------------------------------------------------- /tests/get/file.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/get/file.bats -------------------------------------------------------------------------------- /tests/get/git-repo.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/get/git-repo.bats -------------------------------------------------------------------------------- /tests/glob/arg-completion.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/glob/arg-completion.bats -------------------------------------------------------------------------------- /tests/glob/main.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/glob/main.bats -------------------------------------------------------------------------------- /tests/goinfo.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/goinfo.bats -------------------------------------------------------------------------------- /tests/help.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/help.bats -------------------------------------------------------------------------------- /tests/kcov.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/kcov.bats -------------------------------------------------------------------------------- /tests/log/add-output-file.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/log/add-output-file.bats -------------------------------------------------------------------------------- /tests/log/add-update.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/log/add-update.bats -------------------------------------------------------------------------------- /tests/log/filters.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/log/filters.bats -------------------------------------------------------------------------------- /tests/log/log-command.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/log/log-command.bats -------------------------------------------------------------------------------- /tests/log/main.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/log/main.bats -------------------------------------------------------------------------------- /tests/log/setup-project.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/log/setup-project.bats -------------------------------------------------------------------------------- /tests/log/timestamp.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/log/timestamp.bats -------------------------------------------------------------------------------- /tests/modules/arg-completion.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/modules/arg-completion.bats -------------------------------------------------------------------------------- /tests/modules/help.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/modules/help.bats -------------------------------------------------------------------------------- /tests/modules/helpers.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/modules/helpers.bash -------------------------------------------------------------------------------- /tests/modules/main.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/modules/main.bats -------------------------------------------------------------------------------- /tests/modules/use.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/modules/use.bats -------------------------------------------------------------------------------- /tests/modules/use/plugins.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/modules/use/plugins.bats -------------------------------------------------------------------------------- /tests/new.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/new.bats -------------------------------------------------------------------------------- /tests/null.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/null.bats -------------------------------------------------------------------------------- /tests/path-module/add-parent-dir-if-relative-path.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/path-module/add-parent-dir-if-relative-path.bats -------------------------------------------------------------------------------- /tests/path-module/canonicalize-path.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/path-module/canonicalize-path.bats -------------------------------------------------------------------------------- /tests/path-module/realpath.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/path-module/realpath.bats -------------------------------------------------------------------------------- /tests/path-module/walk-file-system.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/path-module/walk-file-system.bats -------------------------------------------------------------------------------- /tests/path-module/walk-path-forward.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/path-module/walk-path-forward.bats -------------------------------------------------------------------------------- /tests/path.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/path.bats -------------------------------------------------------------------------------- /tests/path/init-constants.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/path/init-constants.bats -------------------------------------------------------------------------------- /tests/path/list-available-commands.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/path/list-available-commands.bats -------------------------------------------------------------------------------- /tests/path/set-path-and-argv.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/path/set-path-and-argv.bats -------------------------------------------------------------------------------- /tests/platform.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/platform.bats -------------------------------------------------------------------------------- /tests/plugins.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/plugins.bats -------------------------------------------------------------------------------- /tests/portability/native-file-path-or-url.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/portability/native-file-path-or-url.bats -------------------------------------------------------------------------------- /tests/prompt/prompt-for-input.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/prompt/prompt-for-input.bats -------------------------------------------------------------------------------- /tests/prompt/prompt-for-safe-input.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/prompt/prompt-for-safe-input.bats -------------------------------------------------------------------------------- /tests/prompt/prompt-for-yes-or-no.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/prompt/prompt-for-yes-or-no.bats -------------------------------------------------------------------------------- /tests/prompt/read-prompt-response.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/prompt/read-prompt-response.bats -------------------------------------------------------------------------------- /tests/prompt/select-option.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/prompt/select-option.bats -------------------------------------------------------------------------------- /tests/strings/common-parent-path.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/strings/common-parent-path.bats -------------------------------------------------------------------------------- /tests/strings/common-prefix.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/strings/common-prefix.bats -------------------------------------------------------------------------------- /tests/strings/helpers.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/strings/helpers.bash -------------------------------------------------------------------------------- /tests/strings/join.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/strings/join.bats -------------------------------------------------------------------------------- /tests/strings/split.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/strings/split.bats -------------------------------------------------------------------------------- /tests/strings/trim.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/strings/trim.bats -------------------------------------------------------------------------------- /tests/subcommands.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/subcommands.bats -------------------------------------------------------------------------------- /tests/template.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/template.bats -------------------------------------------------------------------------------- /tests/test.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/test.bats -------------------------------------------------------------------------------- /tests/testing/environment.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/testing/environment.bats -------------------------------------------------------------------------------- /tests/testing/environment/test-compgen.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/testing/environment/test-compgen.bats -------------------------------------------------------------------------------- /tests/testing/log.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/testing/log.bats -------------------------------------------------------------------------------- /tests/testing/log/assertions.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/testing/log/assertions.bats -------------------------------------------------------------------------------- /tests/testing/stack-trace.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/testing/stack-trace.bats -------------------------------------------------------------------------------- /tests/testing/stubbing.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/testing/stubbing.bats -------------------------------------------------------------------------------- /tests/validation.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/validation.bats -------------------------------------------------------------------------------- /tests/vars.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbland/go-script-bash/HEAD/tests/vars.bats --------------------------------------------------------------------------------