diff --git a/.bundle/config b/.bundle/config deleted file mode 100644 index 8cd3565..0000000 --- a/.bundle/config +++ /dev/null @@ -1,2 +0,0 @@ ---- -BUNDLE_PATH: "vendor/bundler" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 55d2dde..d93bb4e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,7 +48,7 @@ jobs: WITH_V: false INITIAL_VERSION: 0.6.0 RELEASE_BRANCHES: release - DEFAULT_BUMP: minor + DEFAULT_BUMP: patch - name: Check output env: diff --git a/README.md b/README.md index d312b39..f451a27 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # Terragrunt Switcher -drawing +drawing The `tgswitch` command line tool lets you switch between different versions of terragrunt. @@ -55,8 +55,9 @@ The most recently selected versions are presented at the top of the dropdown. 3. Hit **Enter** to switch. ### Use environment variables -drawing -You can also set the `TG_VERSION` environment variable to your desired terragrunt version. +drawing + +1. You can also set the `TG_VERSION` environment variable to your desired terragrunt version. For example: ```bash export TG_VERSION=0.37.0 diff --git a/docs/Gemfile b/docs/Gemfile deleted file mode 100644 index a1585a6..0000000 --- a/docs/Gemfile +++ /dev/null @@ -1,9 +0,0 @@ -source 'https://rubygems.org' -gem 'github-pages', group: :jekyll_plugins -gem "minima" - -gem "commonmarker" -gem "ffi", ">= 1.9.24" -gem "rubyzip", ">= 1.2.2" -gem "jekyll", ">= 3.7.4" -gem "nokogiri", ">= 1.8.5" \ No newline at end of file diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock deleted file mode 100644 index 3fef93b..0000000 --- a/docs/Gemfile.lock +++ /dev/null @@ -1,278 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - activesupport (4.2.10) - i18n (~> 0.7) - minitest (~> 5.1) - thread_safe (~> 0.3, >= 0.3.4) - tzinfo (~> 1.1) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) - coffee-script (2.4.1) - coffee-script-source - execjs - coffee-script-source (1.11.1) - colorator (1.1.0) - commonmarker (0.17.13) - ruby-enum (~> 0.5) - concurrent-ruby (1.1.4) - dnsruby (1.61.7) - simpleidn (~> 0.1) - em-websocket (0.5.1) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0.6.0) - ethon (0.12.0) - ffi (>= 1.3.0) - eventmachine (1.2.7) - execjs (2.7.0) - faraday (1.5.1) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0.1) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.1) - faraday-patron (~> 1.0) - multipart-post (>= 1.2, < 3) - ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) - faraday-httpclient (1.0.1) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - ffi (1.10.0) - forwardable-extended (2.6.0) - gemoji (3.0.0) - github-pages (193) - activesupport (= 4.2.10) - github-pages-health-check (= 1.8.1) - jekyll (= 3.7.4) - jekyll-avatar (= 0.6.0) - jekyll-coffeescript (= 1.1.1) - jekyll-commonmark-ghpages (= 0.1.5) - jekyll-default-layout (= 0.1.4) - jekyll-feed (= 0.11.0) - jekyll-gist (= 1.5.0) - jekyll-github-metadata (= 2.9.4) - jekyll-mentions (= 1.4.1) - jekyll-optional-front-matter (= 0.3.0) - jekyll-paginate (= 1.1.0) - jekyll-readme-index (= 0.2.0) - jekyll-redirect-from (= 0.14.0) - jekyll-relative-links (= 0.5.3) - jekyll-remote-theme (= 0.3.1) - jekyll-sass-converter (= 1.5.2) - jekyll-seo-tag (= 2.5.0) - jekyll-sitemap (= 1.2.0) - jekyll-swiss (= 0.4.0) - jekyll-theme-architect (= 0.1.1) - jekyll-theme-cayman (= 0.1.1) - jekyll-theme-dinky (= 0.1.1) - jekyll-theme-hacker (= 0.1.1) - jekyll-theme-leap-day (= 0.1.1) - jekyll-theme-merlot (= 0.1.1) - jekyll-theme-midnight (= 0.1.1) - jekyll-theme-minimal (= 0.1.1) - jekyll-theme-modernist (= 0.1.1) - jekyll-theme-primer (= 0.5.3) - jekyll-theme-slate (= 0.1.1) - jekyll-theme-tactile (= 0.1.1) - jekyll-theme-time-machine (= 0.1.1) - jekyll-titles-from-headings (= 0.5.1) - jemoji (= 0.10.1) - kramdown (= 1.17.0) - liquid (= 4.0.0) - listen (= 3.1.5) - mercenary (~> 0.3) - minima (= 2.5.0) - nokogiri (>= 1.8.2, < 2.0) - rouge (= 2.2.1) - terminal-table (~> 1.4) - github-pages-health-check (1.8.1) - addressable (~> 2.3) - dnsruby (~> 1.60) - octokit (~> 4.0) - public_suffix (~> 2.0) - typhoeus (~> 1.3) - html-pipeline (2.10.0) - activesupport (>= 2) - nokogiri (>= 1.4) - http_parser.rb (0.6.0) - i18n (0.9.5) - concurrent-ruby (~> 1.0) - jekyll (3.7.4) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (~> 0.7) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 2.0) - kramdown (~> 1.14) - liquid (~> 4.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (>= 1.7, < 4) - safe_yaml (~> 1.0) - jekyll-avatar (0.6.0) - jekyll (~> 3.0) - jekyll-coffeescript (1.1.1) - coffee-script (~> 2.2) - coffee-script-source (~> 1.11.1) - jekyll-commonmark (1.2.0) - commonmarker (~> 0.14) - jekyll (>= 3.0, < 4.0) - jekyll-commonmark-ghpages (0.1.5) - commonmarker (~> 0.17.6) - jekyll-commonmark (~> 1) - rouge (~> 2) - jekyll-default-layout (0.1.4) - jekyll (~> 3.0) - jekyll-feed (0.11.0) - jekyll (~> 3.3) - jekyll-gist (1.5.0) - octokit (~> 4.2) - jekyll-github-metadata (2.9.4) - jekyll (~> 3.1) - octokit (~> 4.0, != 4.4.0) - jekyll-mentions (1.4.1) - html-pipeline (~> 2.3) - jekyll (~> 3.0) - jekyll-optional-front-matter (0.3.0) - jekyll (~> 3.0) - jekyll-paginate (1.1.0) - jekyll-readme-index (0.2.0) - jekyll (~> 3.0) - jekyll-redirect-from (0.14.0) - jekyll (~> 3.3) - jekyll-relative-links (0.5.3) - jekyll (~> 3.3) - jekyll-remote-theme (0.3.1) - jekyll (~> 3.5) - rubyzip (>= 1.2.1, < 3.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-seo-tag (2.5.0) - jekyll (~> 3.3) - jekyll-sitemap (1.2.0) - jekyll (~> 3.3) - jekyll-swiss (0.4.0) - jekyll-theme-architect (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-cayman (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-dinky (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-hacker (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-leap-day (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-merlot (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-midnight (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-minimal (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-modernist (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-primer (0.5.3) - jekyll (~> 3.5) - jekyll-github-metadata (~> 2.9) - jekyll-seo-tag (~> 2.0) - jekyll-theme-slate (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-tactile (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-time-machine (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-titles-from-headings (0.5.1) - jekyll (~> 3.3) - jekyll-watch (2.1.2) - listen (~> 3.0) - jemoji (0.10.1) - gemoji (~> 3.0) - html-pipeline (~> 2.2) - jekyll (~> 3.0) - kramdown (1.17.0) - liquid (4.0.0) - listen (3.1.5) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) - mercenary (0.3.6) - mini_portile2 (2.5.1) - minima (2.5.0) - jekyll (~> 3.5) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) - minitest (5.11.3) - multipart-post (2.1.1) - nokogiri (1.11.4) - mini_portile2 (~> 2.5.0) - racc (~> 1.4) - octokit (4.21.0) - faraday (>= 0.9) - sawyer (~> 0.8.0, >= 0.5.3) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - public_suffix (2.0.5) - racc (1.5.2) - rb-fsevent (0.10.3) - rb-inotify (0.10.0) - ffi (~> 1.0) - rouge (2.2.1) - ruby-enum (0.7.2) - i18n - ruby2_keywords (0.0.4) - ruby_dep (1.5.0) - rubyzip (1.3.0) - safe_yaml (1.0.4) - sass (3.7.3) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sawyer (0.8.2) - addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) - simpleidn (0.2.1) - unf (~> 0.1.4) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) - thread_safe (0.3.6) - typhoeus (1.4.0) - ethon (>= 0.9.0) - tzinfo (1.2.5) - thread_safe (~> 0.1) - unf (0.1.4) - unf_ext - unf_ext (0.0.7.7) - unicode-display_width (1.4.1) - -PLATFORMS - ruby - -DEPENDENCIES - commonmarker - ffi (>= 1.9.24) - github-pages - jekyll (>= 3.7.4) - minima - nokogiri (>= 1.8.5) - rubyzip (>= 1.2.2) - -BUNDLED WITH - 1.16.2 diff --git a/docs/_config.yml b/docs/_config.yml deleted file mode 100644 index a315a77..0000000 --- a/docs/_config.yml +++ /dev/null @@ -1,11 +0,0 @@ -theme: jekyll-theme-minimal -#github: [metadata] -repository: warrensbox/tgswitch -logo: /assets/img/logo.png -title: tgswitch - -show_downloads: true - -exclude: [vendor] - -#github: [metadata] diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html deleted file mode 100644 index 2c8753c..0000000 --- a/docs/_layouts/default.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - -{% seo %} - - - - - - - - -
-
- - - -

- Logo -

- -

{{ site.description | default: site.github.project_tagline }}

- - Travis - Go Report - -
- - {% if site.show_downloads %} - - {% endif %} -
-
- - {{ content }} - {% if site.github.is_project_page %} -

This project is maintained by {{ site.github.owner_name }}

- {% endif %} -
- -
- - {% if site.google_analytics %} - - - - {% endif %} - - \ No newline at end of file diff --git a/docs/_site/Gemfile b/docs/_site/Gemfile deleted file mode 100644 index a1585a6..0000000 --- a/docs/_site/Gemfile +++ /dev/null @@ -1,9 +0,0 @@ -source 'https://rubygems.org' -gem 'github-pages', group: :jekyll_plugins -gem "minima" - -gem "commonmarker" -gem "ffi", ">= 1.9.24" -gem "rubyzip", ">= 1.2.2" -gem "jekyll", ">= 3.7.4" -gem "nokogiri", ">= 1.8.5" \ No newline at end of file diff --git a/docs/_site/Gemfile.lock b/docs/_site/Gemfile.lock deleted file mode 100644 index 2575e96..0000000 --- a/docs/_site/Gemfile.lock +++ /dev/null @@ -1,278 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - activesupport (4.2.10) - i18n (~> 0.7) - minitest (~> 5.1) - thread_safe (~> 0.3, >= 0.3.4) - tzinfo (~> 1.1) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) - coffee-script (2.4.1) - coffee-script-source - execjs - coffee-script-source (1.11.1) - colorator (1.1.0) - commonmarker (0.17.13) - ruby-enum (~> 0.5) - concurrent-ruby (1.1.4) - dnsruby (1.61.7) - simpleidn (~> 0.1) - em-websocket (0.5.1) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0.6.0) - ethon (0.12.0) - ffi (>= 1.3.0) - eventmachine (1.2.7) - execjs (2.7.0) - faraday (1.5.1) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0.1) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.1) - faraday-patron (~> 1.0) - multipart-post (>= 1.2, < 3) - ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) - faraday-httpclient (1.0.1) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - ffi (1.10.0) - forwardable-extended (2.6.0) - gemoji (3.0.0) - github-pages (193) - activesupport (= 4.2.10) - github-pages-health-check (= 1.8.1) - jekyll (= 3.7.4) - jekyll-avatar (= 0.6.0) - jekyll-coffeescript (= 1.1.1) - jekyll-commonmark-ghpages (= 0.1.5) - jekyll-default-layout (= 0.1.4) - jekyll-feed (= 0.11.0) - jekyll-gist (= 1.5.0) - jekyll-github-metadata (= 2.9.4) - jekyll-mentions (= 1.4.1) - jekyll-optional-front-matter (= 0.3.0) - jekyll-paginate (= 1.1.0) - jekyll-readme-index (= 0.2.0) - jekyll-redirect-from (= 0.14.0) - jekyll-relative-links (= 0.5.3) - jekyll-remote-theme (= 0.3.1) - jekyll-sass-converter (= 1.5.2) - jekyll-seo-tag (= 2.5.0) - jekyll-sitemap (= 1.2.0) - jekyll-swiss (= 0.4.0) - jekyll-theme-architect (= 0.1.1) - jekyll-theme-cayman (= 0.1.1) - jekyll-theme-dinky (= 0.1.1) - jekyll-theme-hacker (= 0.1.1) - jekyll-theme-leap-day (= 0.1.1) - jekyll-theme-merlot (= 0.1.1) - jekyll-theme-midnight (= 0.1.1) - jekyll-theme-minimal (= 0.1.1) - jekyll-theme-modernist (= 0.1.1) - jekyll-theme-primer (= 0.5.3) - jekyll-theme-slate (= 0.1.1) - jekyll-theme-tactile (= 0.1.1) - jekyll-theme-time-machine (= 0.1.1) - jekyll-titles-from-headings (= 0.5.1) - jemoji (= 0.10.1) - kramdown (= 1.17.0) - liquid (= 4.0.0) - listen (= 3.1.5) - mercenary (~> 0.3) - minima (= 2.5.0) - nokogiri (>= 1.8.2, < 2.0) - rouge (= 2.2.1) - terminal-table (~> 1.4) - github-pages-health-check (1.8.1) - addressable (~> 2.3) - dnsruby (~> 1.60) - octokit (~> 4.0) - public_suffix (~> 2.0) - typhoeus (~> 1.3) - html-pipeline (2.10.0) - activesupport (>= 2) - nokogiri (>= 1.4) - http_parser.rb (0.6.0) - i18n (0.9.5) - concurrent-ruby (~> 1.0) - jekyll (3.7.4) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (~> 0.7) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 2.0) - kramdown (~> 1.14) - liquid (~> 4.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (>= 1.7, < 4) - safe_yaml (~> 1.0) - jekyll-avatar (0.6.0) - jekyll (~> 3.0) - jekyll-coffeescript (1.1.1) - coffee-script (~> 2.2) - coffee-script-source (~> 1.11.1) - jekyll-commonmark (1.2.0) - commonmarker (~> 0.14) - jekyll (>= 3.0, < 4.0) - jekyll-commonmark-ghpages (0.1.5) - commonmarker (~> 0.17.6) - jekyll-commonmark (~> 1) - rouge (~> 2) - jekyll-default-layout (0.1.4) - jekyll (~> 3.0) - jekyll-feed (0.11.0) - jekyll (~> 3.3) - jekyll-gist (1.5.0) - octokit (~> 4.2) - jekyll-github-metadata (2.9.4) - jekyll (~> 3.1) - octokit (~> 4.0, != 4.4.0) - jekyll-mentions (1.4.1) - html-pipeline (~> 2.3) - jekyll (~> 3.0) - jekyll-optional-front-matter (0.3.0) - jekyll (~> 3.0) - jekyll-paginate (1.1.0) - jekyll-readme-index (0.2.0) - jekyll (~> 3.0) - jekyll-redirect-from (0.14.0) - jekyll (~> 3.3) - jekyll-relative-links (0.5.3) - jekyll (~> 3.3) - jekyll-remote-theme (0.3.1) - jekyll (~> 3.5) - rubyzip (>= 1.2.1, < 3.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-seo-tag (2.5.0) - jekyll (~> 3.3) - jekyll-sitemap (1.2.0) - jekyll (~> 3.3) - jekyll-swiss (0.4.0) - jekyll-theme-architect (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-cayman (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-dinky (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-hacker (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-leap-day (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-merlot (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-midnight (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-minimal (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-modernist (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-primer (0.5.3) - jekyll (~> 3.5) - jekyll-github-metadata (~> 2.9) - jekyll-seo-tag (~> 2.0) - jekyll-theme-slate (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-tactile (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-time-machine (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-titles-from-headings (0.5.1) - jekyll (~> 3.3) - jekyll-watch (2.1.2) - listen (~> 3.0) - jemoji (0.10.1) - gemoji (~> 3.0) - html-pipeline (~> 2.2) - jekyll (~> 3.0) - kramdown (1.17.0) - liquid (4.0.0) - listen (3.1.5) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) - mercenary (0.3.6) - mini_portile2 (2.6.1) - minima (2.5.0) - jekyll (~> 3.5) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) - minitest (5.11.3) - multipart-post (2.1.1) - nokogiri (1.12.5) - mini_portile2 (~> 2.6.1) - racc (~> 1.4) - octokit (4.21.0) - faraday (>= 0.9) - sawyer (~> 0.8.0, >= 0.5.3) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - public_suffix (2.0.5) - racc (1.5.2) - rb-fsevent (0.10.3) - rb-inotify (0.10.0) - ffi (~> 1.0) - rouge (2.2.1) - ruby-enum (0.7.2) - i18n - ruby2_keywords (0.0.5) - ruby_dep (1.5.0) - rubyzip (1.3.0) - safe_yaml (1.0.4) - sass (3.7.3) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sawyer (0.8.2) - addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) - simpleidn (0.2.1) - unf (~> 0.1.4) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) - thread_safe (0.3.6) - typhoeus (1.4.0) - ethon (>= 0.9.0) - tzinfo (1.2.5) - thread_safe (~> 0.1) - unf (0.1.4) - unf_ext - unf_ext (0.0.7.7) - unicode-display_width (1.4.1) - -PLATFORMS - ruby - -DEPENDENCIES - commonmarker - ffi (>= 1.9.24) - github-pages - jekyll (>= 3.7.4) - minima - nokogiri (>= 1.8.5) - rubyzip (>= 1.2.2) - -BUNDLED WITH - 1.16.2 diff --git a/docs/_site/additional.html b/docs/_site/additional.html deleted file mode 100644 index 45173eb..0000000 --- a/docs/_site/additional.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - -tgswitch | Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt - - - - - - - - - - - - - - - - - -
-
- - - -

- Logo -

- -

Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt

- - Travis - Go Report - -
- - - - -
-
- - -

Back to main

- -

Upgrade:

- -

Homebrew

- -
brew upgrade warrensbox/tap/tgswitch
-
-

Linux

- -

Rerun:

- -
curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash
-
- -

Uninstall:

- -

Homebrew

- -
brew uninstall warrensbox/tap/tgswitch
-
-

Linux

- -

Rerun:

- -
rm /usr/local/bin/tgswitch
-
- -

Troubleshoot:

- -

Common issues:

-
install: can't change permissions of /usr/local/bin: Operation not permitted
-
- -
"Unable to remove symlink. You must have SUDO privileges"
-
- -
"Unable to create symlink. You must have SUDO privileges"
-
-

You probably need to have sudo privileges to install tgswitch.

- -

Back to top
-Back to main

- - -

This project is maintained by warrensbox

- -
- -
- - - - \ No newline at end of file diff --git a/docs/_site/additional.md b/docs/_site/additional.md deleted file mode 100644 index d177d9c..0000000 --- a/docs/_site/additional.md +++ /dev/null @@ -1,51 +0,0 @@ - -[Back to main](index) - -## Upgrade: - -### Homebrew - -```ruby -brew upgrade warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -## Uninstall: - -### Homebrew - -```ruby -brew uninstall warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -rm /usr/local/bin/tgswitch -``` - -## Troubleshoot: - -Common issues: -```ruby -install: can't change permissions of /usr/local/bin: Operation not permitted -``` - -```ruby -"Unable to remove symlink. You must have SUDO privileges" -``` - -```ruby -"Unable to create symlink. You must have SUDO privileges" -``` -You probably need to have **sudo** privileges to install *tgswitch*. - -[Back to top](#upgrade) -[Back to main](index) \ No newline at end of file diff --git a/docs/_site/assets/css/style.css b/docs/_site/assets/css/style.css deleted file mode 100644 index 4517e30..0000000 --- a/docs/_site/assets/css/style.css +++ /dev/null @@ -1,214 +0,0 @@ -@font-face { font-family: 'Noto Sans'; font-weight: 400; font-style: normal; src: url("../fonts/Noto-Sans-regular/Noto-Sans-regular.eot"); src: url("../fonts/Noto-Sans-regular/Noto-Sans-regular.eot?#iefix") format("embedded-opentype"), local("Noto Sans"), local("Noto-Sans-regular"), url("../fonts/Noto-Sans-regular/Noto-Sans-regular.woff2") format("woff2"), url("../fonts/Noto-Sans-regular/Noto-Sans-regular.woff") format("woff"), url("../fonts/Noto-Sans-regular/Noto-Sans-regular.ttf") format("truetype"), url("../fonts/Noto-Sans-regular/Noto-Sans-regular.svg#NotoSans") format("svg"); } -@font-face { font-family: 'Noto Sans'; font-weight: 700; font-style: normal; src: url("../fonts/Noto-Sans-700/Noto-Sans-700.eot"); src: url("../fonts/Noto-Sans-700/Noto-Sans-700.eot?#iefix") format("embedded-opentype"), local("Noto Sans Bold"), local("Noto-Sans-700"), url("../fonts/Noto-Sans-700/Noto-Sans-700.woff2") format("woff2"), url("../fonts/Noto-Sans-700/Noto-Sans-700.woff") format("woff"), url("../fonts/Noto-Sans-700/Noto-Sans-700.ttf") format("truetype"), url("../fonts/Noto-Sans-700/Noto-Sans-700.svg#NotoSans") format("svg"); } -@font-face { font-family: 'Noto Sans'; font-weight: 400; font-style: italic; src: url("../fonts/Noto-Sans-italic/Noto-Sans-italic.eot"); src: url("../fonts/Noto-Sans-italic/Noto-Sans-italic.eot?#iefix") format("embedded-opentype"), local("Noto Sans Italic"), local("Noto-Sans-italic"), url("../fonts/Noto-Sans-italic/Noto-Sans-italic.woff2") format("woff2"), url("../fonts/Noto-Sans-italic/Noto-Sans-italic.woff") format("woff"), url("../fonts/Noto-Sans-italic/Noto-Sans-italic.ttf") format("truetype"), url("../fonts/Noto-Sans-italic/Noto-Sans-italic.svg#NotoSans") format("svg"); } -@font-face { font-family: 'Noto Sans'; font-weight: 700; font-style: italic; src: url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot"); src: url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot?#iefix") format("embedded-opentype"), local("Noto Sans Bold Italic"), local("Noto-Sans-700italic"), url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2") format("woff2"), url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff") format("woff"), url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf") format("truetype"), url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg#NotoSans") format("svg"); } -.highlight table td { padding: 5px; } - -.highlight table pre { margin: 0; } - -.highlight .cm { color: #999988; font-style: italic; } - -.highlight .cp { color: #999999; font-weight: bold; } - -.highlight .c1 { color: #999988; font-style: italic; } - -.highlight .cs { color: #999999; font-weight: bold; font-style: italic; } - -.highlight .c, .highlight .cd { color: #999988; font-style: italic; } - -.highlight .err { color: #a61717; background-color: #e3d2d2; } - -.highlight .gd { color: #000000; background-color: #ffdddd; } - -.highlight .ge { color: #000000; font-style: italic; } - -.highlight .gr { color: #aa0000; } - -.highlight .gh { color: #999999; } - -.highlight .gi { color: #000000; background-color: #ddffdd; } - -.highlight .go { color: #888888; } - -.highlight .gp { color: #555555; } - -.highlight .gs { font-weight: bold; } - -.highlight .gu { color: #aaaaaa; } - -.highlight .gt { color: #aa0000; } - -.highlight .kc { color: #000000; font-weight: bold; } - -.highlight .kd { color: #000000; font-weight: bold; } - -.highlight .kn { color: #000000; font-weight: bold; } - -.highlight .kp { color: #000000; font-weight: bold; } - -.highlight .kr { color: #000000; font-weight: bold; } - -.highlight .kt { color: #445588; font-weight: bold; } - -.highlight .k, .highlight .kv { color: #000000; font-weight: bold; } - -.highlight .mf { color: #009999; } - -.highlight .mh { color: #009999; } - -.highlight .il { color: #009999; } - -.highlight .mi { color: #009999; } - -.highlight .mo { color: #009999; } - -.highlight .m, .highlight .mb, .highlight .mx { color: #009999; } - -.highlight .sb { color: #d14; } - -.highlight .sc { color: #d14; } - -.highlight .sd { color: #d14; } - -.highlight .s2 { color: #d14; } - -.highlight .se { color: #d14; } - -.highlight .sh { color: #d14; } - -.highlight .si { color: #d14; } - -.highlight .sx { color: #d14; } - -.highlight .sr { color: #009926; } - -.highlight .s1 { color: #d14; } - -.highlight .ss { color: #990073; } - -.highlight .s { color: #d14; } - -.highlight .na { color: #008080; } - -.highlight .bp { color: #999999; } - -.highlight .nb { color: #0086B3; } - -.highlight .nc { color: #445588; font-weight: bold; } - -.highlight .no { color: #008080; } - -.highlight .nd { color: #3c5d5d; font-weight: bold; } - -.highlight .ni { color: #800080; } - -.highlight .ne { color: #990000; font-weight: bold; } - -.highlight .nf { color: #990000; font-weight: bold; } - -.highlight .nl { color: #990000; font-weight: bold; } - -.highlight .nn { color: #555555; } - -.highlight .nt { color: #000080; } - -.highlight .vc { color: #008080; } - -.highlight .vg { color: #008080; } - -.highlight .vi { color: #008080; } - -.highlight .nv { color: #008080; } - -.highlight .ow { color: #000000; font-weight: bold; } - -.highlight .o { color: #000000; font-weight: bold; } - -.highlight .w { color: #bbbbbb; } - -.highlight { background-color: #f8f8f8; } - -body { background-color: #fff; padding: 50px; font: 14px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #727272; font-weight: 400; } - -h1, h2, h3, h4, h5, h6 { color: #222; margin: 0 0 20px; } - -p, ul, ol, table, pre, dl { margin: 0 0 20px; } - -h1, h2, h3 { line-height: 1.1; } - -h1 { font-size: 28px; } - -h2 { color: #393939; } - -h3, h4, h5, h6 { color: #494949; } - -a { color: #267CB9; text-decoration: none; } - -a:hover, a:focus { color: #069; font-weight: bold; } - -a small { font-size: 11px; color: #777; margin-top: -0.3em; display: block; } - -a:hover small { color: #777; } - -.wrapper { width: 860px; margin: 0 auto; } - -blockquote { border-left: 1px solid #e5e5e5; margin: 0; padding: 0 0 0 20px; font-style: italic; } - -code, pre { font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace; color: #333; } - -pre { padding: 8px 15px; background: #f8f8f8; border-radius: 5px; border: 1px solid #e5e5e5; overflow-x: auto; } - -table { width: 100%; border-collapse: collapse; } - -th, td { text-align: left; padding: 5px 10px; border-bottom: 1px solid #e5e5e5; } - -dt { color: #444; font-weight: 700; } - -th { color: #444; } - -img { max-width: 100%; } - -header { width: 270px; float: left; position: fixed; -webkit-font-smoothing: subpixel-antialiased; } - -header ul { list-style: none; height: 40px; padding: 0; background: #f4f4f4; border-radius: 5px; border: 1px solid #e0e0e0; width: 270px; } - -header li { width: 89px; float: left; border-right: 1px solid #e0e0e0; height: 40px; } - -header li:first-child a { border-radius: 5px 0 0 5px; } - -header li:last-child a { border-radius: 0 5px 5px 0; } - -header ul a { line-height: 1; font-size: 11px; color: #676767; display: block; text-align: center; padding-top: 6px; height: 34px; } - -header ul a:hover, header ul a:focus { color: #675C5C; font-weight: bold; } - -header ul a:active { background-color: #f0f0f0; } - -strong { color: #222; font-weight: 700; } - -header ul li + li + li { border-right: none; width: 89px; } - -header ul a strong { font-size: 14px; display: block; color: #222; } - -section { width: 500px; float: right; padding-bottom: 50px; } - -small { font-size: 11px; } - -hr { border: 0; background: #e5e5e5; height: 1px; margin: 0 0 20px; } - -footer { width: 270px; float: left; position: fixed; bottom: 50px; -webkit-font-smoothing: subpixel-antialiased; } - -@media print, screen and (max-width: 960px) { div.wrapper { width: auto; margin: 0; } - header, section, footer { float: none; position: static; width: auto; } - header { padding-right: 320px; } - section { border: 1px solid #e5e5e5; border-width: 1px 0; padding: 20px 0; margin: 0 0 20px; } - header a small { display: inline; } - header ul { position: absolute; right: 50px; top: 52px; } } -@media print, screen and (max-width: 720px) { body { word-wrap: break-word; } - header { padding: 0; } - header ul, header p.view { position: static; } - pre, code { word-wrap: normal; } } -@media print, screen and (max-width: 480px) { body { padding: 15px; } - header ul { width: 99%; } - header li, header ul li + li + li { width: 33%; } } -@media print { body { padding: 0.4in; font-size: 12pt; color: #444; } } diff --git a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.eot b/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.eot deleted file mode 100755 index 03bf93f..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.eot and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.svg b/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.svg deleted file mode 100755 index 925fe47..0000000 --- a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.svg +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.ttf b/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.ttf deleted file mode 100755 index 4599e3c..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.ttf and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff b/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff deleted file mode 100755 index 9d0b78d..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff2 b/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff2 deleted file mode 100755 index 55fc44b..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff2 and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot b/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot deleted file mode 100755 index cb97b2b..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg b/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg deleted file mode 100755 index abdafc0..0000000 --- a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf b/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf deleted file mode 100755 index 6640dbe..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff b/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff deleted file mode 100755 index 209739e..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2 b/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2 deleted file mode 100755 index f5525aa..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2 and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.eot b/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.eot deleted file mode 100755 index a997349..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.eot and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.svg b/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.svg deleted file mode 100755 index dcd8fc8..0000000 --- a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.svg +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.ttf b/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.ttf deleted file mode 100755 index 7f75a2d..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.ttf and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff b/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff deleted file mode 100755 index 6dce67c..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff2 b/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff2 deleted file mode 100755 index a9c14c4..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff2 and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.eot b/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.eot deleted file mode 100755 index 15fc8bf..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.eot and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.svg b/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.svg deleted file mode 100755 index bd2894d..0000000 --- a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.svg +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.ttf b/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.ttf deleted file mode 100755 index a83bbf9..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.ttf and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff b/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff deleted file mode 100755 index 17c8500..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff and /dev/null differ diff --git a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff2 b/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff2 deleted file mode 100755 index a87d9cd..0000000 Binary files a/docs/_site/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff2 and /dev/null differ diff --git a/docs/_site/assets/img/logo.png b/docs/_site/assets/img/logo.png deleted file mode 100644 index 93e608e..0000000 Binary files a/docs/_site/assets/img/logo.png and /dev/null differ diff --git a/docs/_site/assets/js/scale.fix.js b/docs/_site/assets/js/scale.fix.js deleted file mode 100644 index 911d33c..0000000 --- a/docs/_site/assets/js/scale.fix.js +++ /dev/null @@ -1,27 +0,0 @@ -(function(document) { - var metas = document.getElementsByTagName('meta'), - changeViewportContent = function(content) { - for (var i = 0; i < metas.length; i++) { - if (metas[i].name == "viewport") { - metas[i].content = content; - } - } - }, - initialize = function() { - changeViewportContent("width=device-width, minimum-scale=1.0, maximum-scale=1.0"); - }, - gestureStart = function() { - changeViewportContent("width=device-width, minimum-scale=0.25, maximum-scale=1.6"); - }, - gestureEnd = function() { - initialize(); - }; - - - if (navigator.userAgent.match(/iPhone/i)) { - initialize(); - - document.addEventListener("touchstart", gestureStart, false); - document.addEventListener("touchend", gestureEnd, false); - } -})(document); diff --git a/docs/_site/docs/additional.html b/docs/_site/docs/additional.html deleted file mode 100644 index d64768e..0000000 --- a/docs/_site/docs/additional.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - -tgswitch | Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt - - - - - - - - - - - - - - - - - -
-
- - - -

- Logo -

- -

Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt

- - Travis - Go Report - -
- - - - -
-
- - -

Back to main

- -

Upgrade:

- -

Homebrew

- -
brew upgrade warrensbox/tap/tgswitch
-
-

Linux

- -

Rerun:

- -
curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash
-
- -

Uninstall:

- -

Homebrew

- -
brew uninstall warrensbox/tap/tgswitch
-
-

Linux

- -

Rerun:

- -
rm /usr/local/bin/tgswitch
-
- -

Troubleshoot:

- -

Common issues:

-
install: can't change permissions of /usr/local/bin: Operation not permitted
-
- -
"Unable to remove symlink. You must have SUDO privileges"
-
- -
"Unable to create symlink. You must have SUDO privileges"
-
-

You probably need to have sudo privileges to install tgswitch.

- -

Back to top
-Back to main

- - -

This project is maintained by warrensbox

- -
- -
- - - - \ No newline at end of file diff --git a/docs/_site/docs/additional.md b/docs/_site/docs/additional.md deleted file mode 100644 index d177d9c..0000000 --- a/docs/_site/docs/additional.md +++ /dev/null @@ -1,51 +0,0 @@ - -[Back to main](index) - -## Upgrade: - -### Homebrew - -```ruby -brew upgrade warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -## Uninstall: - -### Homebrew - -```ruby -brew uninstall warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -rm /usr/local/bin/tgswitch -``` - -## Troubleshoot: - -Common issues: -```ruby -install: can't change permissions of /usr/local/bin: Operation not permitted -``` - -```ruby -"Unable to remove symlink. You must have SUDO privileges" -``` - -```ruby -"Unable to create symlink. You must have SUDO privileges" -``` -You probably need to have **sudo** privileges to install *tgswitch*. - -[Back to top](#upgrade) -[Back to main](index) \ No newline at end of file diff --git a/docs/_site/docs/index.html b/docs/_site/docs/index.html deleted file mode 100644 index d5e5428..0000000 --- a/docs/_site/docs/index.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - - - - - - - - - -Terragrunt Switcher | tgswitch - - - - - - - - - - - - - - - - - -
-
- - - -

- Logo -

- -

Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt

- - Travis - Go Report - -
- - - - -
-
- -

Terragrunt Switcher

- -

The tgswitch command line tool lets you switch between different versions of terragrunt. -If you do not have a particular version of terragrunt installed, tgswitch will download the version you desire. -The installation is minimal and easy. -Once installed, simply select the version you require from the dropdown and start using terragrunt.

- -
- -

Installation

- -

tgswitch is available for MacOS and Linux based operating systems.

- -

Homebrew

- -

Installation for MacOS is the easiest with Homebrew. If you do not have homebrew installed, click here.

- -
brew install warrensbox/tap/tgswitch
-
- -

Linux

- -

Installation for Linux operation systems.

- -
curl -L https://github.com/raw/warrensbox/terragrunt-switcher/release/install.sh | bash
-
- -

Install from source

- -

Alternatively, you can install the binary from the source here

- -
- -

How to use:

-

Use dropdown menu to select version

-

drawing

- -
    -
  1. You can switch between different versions of terragrunt by typing the command tgswitch on your terminal.
  2. -
  3. Select the version of terragrunt you require by using the up and down arrow.
  4. -
  5. Hit Enter to select the desired version.
  6. -
- -

The most recently selected versions are presented at the top of the dropdown.

- -

Supply version on command line

-

drawing

- -
    -
  1. You can also supply the desired version as an argument on the command line.
  2. -
  3. For example, tgswitch 0.10.5 for version 0.10.5 of terragrunt.
  4. -
  5. Hit Enter to switch.
  6. -
- -

Use custom installation location (For non-admin - users with limited privilege on their computers)

-

You can specify a custom binary path for your terragrunt installation

- -
    -
  1. Create a custom binary path. Ex: mkdir /Users/warrenveerasingam/bin (replace warrenveerasingam with your username)
  2. -
  3. Add the path to your PATH. Ex: export PATH=$PATH:/Users/warrenveerasingam/bin (add this to your bash profile or zsh profile)
  4. -
  5. Pass -b or –bin parameter with your custom path to install terragrunt. Ex: tgswitch -b /Users/warrenveerasingam/bin/terragrunt 0.14.1
  6. -
- -

Use .tgswitchrc file

-

drawing

- -
    -
  1. Create a .tgswitchrc file containing the desired version
  2. -
  3. For example, echo "0.14.1" >> .tgswitchrc for version 0.10.5 of terragrunt
  4. -
  5. Run the command tgswitch in the same directory as your .tgswitchrc
  6. -
- -

Automatically switch with bash

- -

Add the following to the end of your ~/.bashrc file: -(Use .tgswitchrc)

- -
cdtgswitch(){
-  builtin cd "$@";
-  cdir=$PWD;
-  if [ -f "$cdir/.tgswitchrc" ]; then
-    tgswitch
-  fi
-}
-alias cd='cdtgswitch'
-
- -

drawing

- -

Automatically switch with zsh

- -

Add the following to the end of your ~/.zshrc file:

- -
load-tgswitch() {
-  local tgswitchrc_path=".tgswitchrc"
-
-  if [ -f "$tgswitchrc_path" ]; then
-    tgswitch
-  fi
-}
-add-zsh-hook chpwd load-tgswitch
-load-tgswitch
-
-
-

NOTE: if you see an error like this: command not found: add-zsh-hook, then you might be on an older version of zsh (see below), or you simply need to load add-zsh-hook by adding this to your .zshrc:

-
   autoload -U add-zsh-hook
-
-
- -

older version of zsh

-
cd(){
-  builtin cd "$@";
-  cdir=$PWD;
-  if [ -f "$cdir/.tgswitchrc" ]; then
-    tgswitch
-  fi
-}
-
- -
- -

Issues

- -

Please open issues here: New Issue

- -
- -

See how to upgrade, uninstall, troubleshoot here: -Additional Info

- - -

This project is maintained by warrensbox

- -
- -
- - - - \ No newline at end of file diff --git a/docs/_site/docs/index.md b/docs/_site/docs/index.md deleted file mode 100644 index 5aa8dd5..0000000 --- a/docs/_site/docs/index.md +++ /dev/null @@ -1,128 +0,0 @@ -# Terragrunt Switcher - -The `tgswitch` command line tool lets you switch between different versions of [terragrunt](https://www.terragrunt.io/){:target="_blank"}. -If you do not have a particular version of terragrunt installed, `tgswitch` will download the version you desire. -The installation is minimal and easy. -Once installed, simply select the version you require from the dropdown and start using terragrunt. - -
- -## Installation - -`tgswitch` is available for MacOS and Linux based operating systems. - -### Homebrew - -Installation for MacOS is the easiest with Homebrew. [If you do not have homebrew installed, click here](https://brew.sh/){:target="_blank"}. - - -```ruby -brew install warrensbox/tap/tgswitch -``` - -### Linux - -Installation for Linux operation systems. - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -### Install from source - -Alternatively, you can install the binary from the source [here](https://github.com/warrensbox/tgswitch/releases) - -
- -## How to use: -### Use dropdown menu to select version -drawing - -1. You can switch between different versions of terragrunt by typing the command `tgswitch` on your terminal. -2. Select the version of terragrunt you require by using the up and down arrow. -3. Hit **Enter** to select the desired version. - -The most recently selected versions are presented at the top of the dropdown. - -### Supply version on command line -drawing - -1. You can also supply the desired version as an argument on the command line. -2. For example, `tgswitch 0.10.5` for version 0.10.5 of terragrunt. -3. Hit **Enter** to switch. - -### Use custom installation location (For non-admin - users with limited privilege on their computers) -You can specify a custom binary path for your terragrunt installation - -1. Create a custom binary path. Ex: `mkdir /Users/warrenveerasingam/bin` (replace warrenveerasingam with your username) -2. Add the path to your PATH. Ex: `export PATH=$PATH:/Users/warrenveerasingam/bin` (add this to your bash profile or zsh profile) -3. Pass -b or --bin parameter with your custom path to install terragrunt. Ex: `tgswitch -b /Users/warrenveerasingam/bin/terragrunt 0.14.1 ` - -### Use .tgswitchrc file -drawing - -1. Create a `.tgswitchrc` file containing the desired version -2. For example, `echo "0.14.1" >> .tgswitchrc` for version 0.10.5 of terragrunt -3. Run the command `tgswitch` in the same directory as your `.tgswitchrc` - -**Automatically switch with bash** - -Add the following to the end of your `~/.bashrc` file: -(Use `.tgswitchrc`) - -``` -cdtgswitch(){ - builtin cd "$@"; - cdir=$PWD; - if [ -f "$cdir/.tgswitchrc" ]; then - tgswitch - fi -} -alias cd='cdtgswitch' -``` - -drawing - -**Automatically switch with zsh** - - -Add the following to the end of your `~/.zshrc` file: - -``` -load-tgswitch() { - local tgswitchrc_path=".tgswitchrc" - - if [ -f "$tgswitchrc_path" ]; then - tgswitch - fi -} -add-zsh-hook chpwd load-tgswitch -load-tgswitch -``` -> NOTE: if you see an error like this: `command not found: add-zsh-hook`, then you might be on an older version of zsh (see below), or you simply need to load `add-zsh-hook` by adding this to your `.zshrc`: -> ``` -> autoload -U add-zsh-hook -> ``` - -*older version of zsh* -``` -cd(){ - builtin cd "$@"; - cdir=$PWD; - if [ -f "$cdir/.tgswitchrc" ]; then - tgswitch - fi -} -``` - - -
- -## Issues - -Please open *issues* here: [New Issue](https://github.com/warrensbox/terragrunt-switcher/issues){:target="_blank"} - -
- -See how to *upgrade*, *uninstall*, *troubleshoot* here: -[Additional Info](additional) \ No newline at end of file diff --git a/docs/_site/index.html b/docs/_site/index.html deleted file mode 100644 index b6cfca2..0000000 --- a/docs/_site/index.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - - - - - - - - - -Terragrunt Switcher | tgswitch - - - - - - - - - - - - - - - - - -
-
- - - -

- Logo -

- -

Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt

- - Travis - Go Report - -
- - - - -
-
- -

Terragrunt Switcher

- -

The tgswitch command line tool lets you switch between different versions of terragrunt. -If you do not have a particular version of terragrunt installed, tgswitch will download the version you desire. -The installation is minimal and easy. -Once installed, simply select the version you require from the dropdown and start using terragrunt.

- -
- -

Installation

- -

tgswitch is available for MacOS and Linux based operating systems.

- -

Homebrew

- -

Installation for MacOS is the easiest with Homebrew. If you do not have homebrew installed, click here.

- -
brew install warrensbox/tap/tgswitch
-
- -

Linux

- -

Installation for Linux operation systems.

- -
curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash
-
- -

Install from source

- -

Alternatively, you can install the binary from the source here

- -
- -

How to use:

-

Use dropdown menu to select version

-

drawing

- -
    -
  1. You can switch between different versions of terragrunt by typing the command tgswitch on your terminal.
  2. -
  3. Select the version of terragrunt you require by using the up and down arrow.
  4. -
  5. Hit Enter to select the desired version.
  6. -
- -

The most recently selected versions are presented at the top of the dropdown.

- -

Supply version on command line

-

drawing

- -
    -
  1. You can also supply the desired version as an argument on the command line.
  2. -
  3. For example, tgswitch 0.10.5 for version 0.10.5 of terragrunt.
  4. -
  5. Hit Enter to switch.
  6. -
- -

Use custom installation location (For non-admin - users with limited privilege on their computers)

-

You can specify a custom binary path for your terragrunt installation

- -
    -
  1. Create a custom binary path. Ex: mkdir /Users/warrenveerasingam/bin (replace warrenveerasingam with your username)
  2. -
  3. Add the path to your PATH. Ex: export PATH=$PATH:/Users/warrenveerasingam/bin (add this to your bash profile or zsh profile)
  4. -
  5. Pass -b or –bin parameter with your custom path to install terragrunt. Ex: tgswitch -b /Users/warrenveerasingam/bin/terragrunt 0.14.1
  6. -
- -

Use .tgswitchrc file

-

drawing

- -
    -
  1. Create a .tgswitchrc file containing the desired version
  2. -
  3. For example, echo "0.14.1" >> .tgswitchrc for version 0.14.1 of terragrunt
  4. -
  5. Run the command tgswitch in the same directory as your .tgswitchrc
  6. -
- -

Automatically switch with bash

- -

Add the following to the end of your ~/.bashrc file: -(Use .tgswitchrc)

- -
cdtgswitch(){
-  builtin cd "$@";
-  cdir=$PWD;
-  if [ -f "$cdir/.tgswitchrc" ]; then
-    tgswitch
-  fi
-}
-alias cd='cdtgswitch'
-
- -

drawing

- -

Automatically switch with zsh

- -

Add the following to the end of your ~/.zshrc file:

- -
load-tgswitch() {
-  local tgswitchrc_path=".tgswitchrc"
-
-  if [ -f "$tgswitchrc_path" ]; then
-    tgswitch
-  fi
-}
-add-zsh-hook chpwd load-tgswitch
-load-tgswitch
-
-
-

NOTE: if you see an error like this: command not found: add-zsh-hook, then you might be on an older version of zsh (see below), or you simply need to load add-zsh-hook by adding this to your .zshrc:

-
   autoload -U add-zsh-hook
-
-
- -

older version of zsh

-
cd(){
-  builtin cd "$@";
-  cdir=$PWD;
-  if [ -f "$cdir/.tgswitchrc" ]; then
-    tgswitch
-  fi
-}
-
- -
- -

Issues

- -

Please open issues here: New Issue

- -
- -

See how to upgrade, uninstall, troubleshoot here: -Additional Info

- - -

This project is maintained by warrensbox

- -
- -
- - - - \ No newline at end of file diff --git a/docs/_site/index.md b/docs/_site/index.md deleted file mode 100644 index a166e14..0000000 --- a/docs/_site/index.md +++ /dev/null @@ -1,127 +0,0 @@ -# Terragrunt Switcher - -The `tgswitch` command line tool lets you switch between different versions of [terragrunt](https://www.terragrunt.io/){:target="_blank"}. -If you do not have a particular version of terragrunt installed, `tgswitch` will download the version you desire. -The installation is minimal and easy. -Once installed, simply select the version you require from the dropdown and start using terragrunt. - -
- -## Installation - -`tgswitch` is available for MacOS and Linux based operating systems. - -### Homebrew - -Installation for MacOS is the easiest with Homebrew. [If you do not have homebrew installed, click here](https://brew.sh/){:target="_blank"}. - - -```ruby -brew install warrensbox/tap/tgswitch -``` - -### Linux - -Installation for Linux operation systems. - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -### Install from source - -Alternatively, you can install the binary from the source [here](https://github.com/warrensbox/tgswitch/releases) - -
- -## How to use: -### Use dropdown menu to select version -drawing - -1. You can switch between different versions of terragrunt by typing the command `tgswitch` on your terminal. -2. Select the version of terragrunt you require by using the up and down arrow. -3. Hit **Enter** to select the desired version. - -The most recently selected versions are presented at the top of the dropdown. - -### Supply version on command line -drawing - -1. You can also supply the desired version as an argument on the command line. -2. For example, `tgswitch 0.10.5` for version 0.10.5 of terragrunt. -3. Hit **Enter** to switch. - -### Use custom installation location (For non-admin - users with limited privilege on their computers) -You can specify a custom binary path for your terragrunt installation - -1. Create a custom binary path. Ex: `mkdir /Users/warrenveerasingam/bin` (replace warrenveerasingam with your username) -2. Add the path to your PATH. Ex: `export PATH=$PATH:/Users/warrenveerasingam/bin` (add this to your bash profile or zsh profile) -3. Pass -b or --bin parameter with your custom path to install terragrunt. Ex: `tgswitch -b /Users/warrenveerasingam/bin/terragrunt 0.14.1 ` - -### Use .tgswitchrc file -drawing - -1. Create a `.tgswitchrc` file containing the desired version -2. For example, `echo "0.14.1" >> .tgswitchrc` for version 0.14.1 of terragrunt -3. Run the command `tgswitch` in the same directory as your `.tgswitchrc` - -**Automatically switch with bash** - -Add the following to the end of your `~/.bashrc` file: -(Use `.tgswitchrc`) - -``` -cdtgswitch(){ - builtin cd "$@"; - cdir=$PWD; - if [ -f "$cdir/.tgswitchrc" ]; then - tgswitch - fi -} -alias cd='cdtgswitch' -``` - -drawing - -**Automatically switch with zsh** - - -Add the following to the end of your `~/.zshrc` file: - -``` -load-tgswitch() { - local tgswitchrc_path=".tgswitchrc" - - if [ -f "$tgswitchrc_path" ]; then - tgswitch - fi -} -add-zsh-hook chpwd load-tgswitch -load-tgswitch -``` -> NOTE: if you see an error like this: `command not found: add-zsh-hook`, then you might be on an older version of zsh (see below), or you simply need to load `add-zsh-hook` by adding this to your `.zshrc`: -> ``` -> autoload -U add-zsh-hook -> ``` - -*older version of zsh* -``` -cd(){ - builtin cd "$@"; - cdir=$PWD; - if [ -f "$cdir/.tgswitchrc" ]; then - tgswitch - fi -} -``` - -
- -## Issues - -Please open *issues* here: [New Issue](https://github.com/warrensbox/tgswitch/issues){:target="_blank"} - -
- -See how to *upgrade*, *uninstall*, *troubleshoot* here: -[Additional Info](additional) \ No newline at end of file diff --git a/docs/additional.md b/docs/additional.md deleted file mode 100644 index d177d9c..0000000 --- a/docs/additional.md +++ /dev/null @@ -1,51 +0,0 @@ - -[Back to main](index) - -## Upgrade: - -### Homebrew - -```ruby -brew upgrade warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -## Uninstall: - -### Homebrew - -```ruby -brew uninstall warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -rm /usr/local/bin/tgswitch -``` - -## Troubleshoot: - -Common issues: -```ruby -install: can't change permissions of /usr/local/bin: Operation not permitted -``` - -```ruby -"Unable to remove symlink. You must have SUDO privileges" -``` - -```ruby -"Unable to create symlink. You must have SUDO privileges" -``` -You probably need to have **sudo** privileges to install *tgswitch*. - -[Back to top](#upgrade) -[Back to main](index) \ No newline at end of file diff --git a/docs/docs/_layouts/default.html b/docs/docs/_layouts/default.html deleted file mode 100644 index d9141cd..0000000 --- a/docs/docs/_layouts/default.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - -{% seo %} - - - - - - - - -
-
- - - -

- Logo -

- -

{{ site.description | default: site.github.project_tagline }}

- - Travis - Go Report - -
- - {% if site.show_downloads %} - - {% endif %} -
-
- - {{ content }} - {% if site.github.is_project_page %} -

VERSION: {{ site.github.releases[0].tag_name }}. This project is maintained by {{ site.github.owner_name }}

- {% endif %} -
- -
- - {% if site.google_analytics %} - - - - {% endif %} - - \ No newline at end of file diff --git a/docs/docs/_site/additional.html b/docs/docs/_site/additional.html deleted file mode 100644 index 428de7a..0000000 --- a/docs/docs/_site/additional.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - -tgswitch | Manage terragrunt versions - the tgswitch command line tool lets you switch between different versions of terragrunt - - - - - - - - - - - - - - - - - - - -
-
- - - -

- Logo -

- -

Manage terragrunt versions - the tgswitch command line tool lets you switch between different versions of terragrunt

- - Travis - Go Report - -
- - - - -
-
- - -

Back to main

- -

Upgrade:

- -

Homebrew

- -
brew upgrade warrensbox/tap/tgswitch
-
-

Linux

- -

Rerun:

- -
curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash
-
- -

Uninstall:

- -

Homebrew

- -
brew uninstall warrensbox/tap/tgswitch
-
-

Linux

- -

Rerun:

- -
rm /usr/local/bin/tgswitch
-
- -

Troubleshoot:

- -

Common issues:

-
install: can't change permissions of /usr/local/bin: Operation not permitted
-
- -
"Unable to remove symlink. You must have SUDO privileges"
-
- -
"Unable to create symlink. You must have SUDO privileges"
-
-

You probably need to have sudo privileges to install tgswitch.

- -

Back to top
-Back to main

- - -

VERSION: 0.4.552. This project is maintained by warrensbox

- -
- -
- - - - \ No newline at end of file diff --git a/docs/docs/_site/additional.md b/docs/docs/_site/additional.md deleted file mode 100644 index d177d9c..0000000 --- a/docs/docs/_site/additional.md +++ /dev/null @@ -1,51 +0,0 @@ - -[Back to main](index) - -## Upgrade: - -### Homebrew - -```ruby -brew upgrade warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -## Uninstall: - -### Homebrew - -```ruby -brew uninstall warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -rm /usr/local/bin/tgswitch -``` - -## Troubleshoot: - -Common issues: -```ruby -install: can't change permissions of /usr/local/bin: Operation not permitted -``` - -```ruby -"Unable to remove symlink. You must have SUDO privileges" -``` - -```ruby -"Unable to create symlink. You must have SUDO privileges" -``` -You probably need to have **sudo** privileges to install *tgswitch*. - -[Back to top](#upgrade) -[Back to main](index) \ No newline at end of file diff --git a/docs/docs/_site/index.html b/docs/docs/_site/index.html deleted file mode 100644 index 2daf25e..0000000 --- a/docs/docs/_site/index.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - -Terragrunt Switcher | tgswitch - - - - - - - - - - - - - - - - - - - -
-
- - - -

- Logo -

- -

Manage terragrunt versions - the tgswitch command line tool lets you switch between different versions of terragrunt

- - Travis - Go Report - -
- - - - -
-
- -

Terragrunt Switcher

- -

The tgswitch command line tool lets you switch between different versions of terragrunt. -If you do not have a particular version of terragrunt installed, tgswitch will download the version you desire. -The installation is minimal and easy. -Once installed, simply select the version you require from the dropdown and start using terragrunt.

- -
- -

Installation

- -

tgswitch is available for MacOS and Linux based operating systems.

- -

Homebrew

- -

Installation for MacOS is the easiest with Homebrew. If you do not have homebrew installed, click here.

- -
brew install warrensbox/tap/tgswitch
-
- -

Linux

- -

Installation for Linux operation systems.

- -
curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash
-
- -

Install from source

- -

Alternatively, you can install the binary from the source here

- -
- -

How to use:

-

Use dropdown menu to select version

-

drawing

- -
    -
  1. You can switch between different versions of terragrunt by typing the command tgswitch on your terminal.
  2. -
  3. Select the version of terragrunt you require by using the up and down arrow.
  4. -
  5. Hit Enter to select the desired version.
  6. -
- -

The most recently selected versions are presented at the top of the dropdown.

- -

Supply version on command line

-

drawing

- -
    -
  1. You can also supply the desired version as an argument on the command line.
  2. -
  3. For example, tgswitch 0.10.5 for version 0.10.5 of terragrunt.
  4. -
  5. Hit Enter to switch.
  6. -
- -
- -

Issues

- -

Please open issues here: New Issue

- -
- -

See how to upgrade, uninstall, troubleshoot here: -Additional Info

- - -

VERSION: 0.4.552. This project is maintained by warrensbox

- -
- -
- - - - \ No newline at end of file diff --git a/docs/docs/_site/index.md b/docs/docs/_site/index.md deleted file mode 100644 index b11d924..0000000 --- a/docs/docs/_site/index.md +++ /dev/null @@ -1,63 +0,0 @@ -# Terragrunt Switcher - -The `tgswitch` command line tool lets you switch between different versions of [terragrunt](https://github.com/gruntwork-io/terragrunt){:target="_blank"}. -If you do not have a particular version of terragrunt installed, `tgswitch` will download the version you desire. -The installation is minimal and easy. -Once installed, simply select the version you require from the dropdown and start using terragrunt. - -
- -## Installation - -`tgswitch` is available for MacOS and Linux based operating systems. - -### Homebrew - -Installation for MacOS is the easiest with Homebrew. [If you do not have homebrew installed, click here](https://brew.sh/){:target="_blank"}. - - -```ruby -brew install warrensbox/tap/tgswitch -``` - -### Linux - -Installation for Linux operation systems. - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -### Install from source - -Alternatively, you can install the binary from the source [here](https://github.com/warrensbox/tgswitch/releases) - -
- -## How to use: -### Use dropdown menu to select version -drawing - -1. You can switch between different versions of terragrunt by typing the command `tgswitch` on your terminal. -2. Select the version of terragrunt you require by using the up and down arrow. -3. Hit **Enter** to select the desired version. - -The most recently selected versions are presented at the top of the dropdown. - -### Supply version on command line -drawing - -1. You can also supply the desired version as an argument on the command line. -2. For example, `tgswitch 0.10.5` for version 0.10.5 of terragrunt. -3. Hit **Enter** to switch. - -
- -## Issues - -Please open *issues* here: [New Issue](https://github.com/warrensbox/tgswitch/issues){:target="_blank"} - -
- -See how to *upgrade*, *uninstall*, *troubleshoot* here: -[Additional Info](additional) \ No newline at end of file diff --git a/docs/docs/additional.md b/docs/docs/additional.md deleted file mode 100644 index d177d9c..0000000 --- a/docs/docs/additional.md +++ /dev/null @@ -1,51 +0,0 @@ - -[Back to main](index) - -## Upgrade: - -### Homebrew - -```ruby -brew upgrade warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -## Uninstall: - -### Homebrew - -```ruby -brew uninstall warrensbox/tap/tgswitch -``` -### Linux - -Rerun: - -```sh -rm /usr/local/bin/tgswitch -``` - -## Troubleshoot: - -Common issues: -```ruby -install: can't change permissions of /usr/local/bin: Operation not permitted -``` - -```ruby -"Unable to remove symlink. You must have SUDO privileges" -``` - -```ruby -"Unable to create symlink. You must have SUDO privileges" -``` -You probably need to have **sudo** privileges to install *tgswitch*. - -[Back to top](#upgrade) -[Back to main](index) \ No newline at end of file diff --git a/docs/docs/index.md b/docs/docs/index.md deleted file mode 100644 index 676e90a..0000000 --- a/docs/docs/index.md +++ /dev/null @@ -1,128 +0,0 @@ -# Terragrunt Switcher - -The `tgswitch` command line tool lets you switch between different versions of [terragrunt](https://github.com/gruntwork-io/terragrunt){:target="_blank"}. -If you do not have a particular version of terragrunt installed, `tgswitch` will download the version you desire. -The installation is minimal and easy. -Once installed, simply select the version you require from the dropdown and start using terragrunt. - -
- -## Installation - -`tgswitch` is available for MacOS and Linux based operating systems. - -### Homebrew - -Installation for MacOS is the easiest with Homebrew. [If you do not have homebrew installed, click here](https://brew.sh/){:target="_blank"}. - - -```ruby -brew install warrensbox/tap/tgswitch -``` - -### Linux - -Installation for Linux operation systems. - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -### Install from source - -Alternatively, you can install the binary from the source [here](https://github.com/warrensbox/tgswitch/releases) - -
- -## How to use: -### Use dropdown menu to select version -drawing - -1. You can switch between different versions of terragrunt by typing the command `tgswitch` on your terminal. -2. Select the version of terragrunt you require by using the up and down arrow. -3. Hit **Enter** to select the desired version. - -The most recently selected versions are presented at the top of the dropdown. - -### Supply version on command line -drawing - -1. You can also supply the desired version as an argument on the command line. -2. For example, `tgswitch 0.10.5` for version 0.10.5 of terragrunt. -3. Hit **Enter** to switch. - -### Use custom installation location (For non-admin - users with limited privilege on their computers) -You can specify a custom binary path for your terragrunt installation - -1. Create a custom binary path. Ex: `mkdir /Users/warrenveerasingam/bin` (replace warrenveerasingam with your username) -2. Add the path to your PATH. Ex: `export PATH=$PATH:/Users/warrenveerasingam/bin` (add this to your bash profile or zsh profile) -3. Pass -b or --bin parameter with your custom path to install terragrunt. Ex: `tgswitch -b /Users/warrenveerasingam/bin/terragrunt 0.14.1 ` - -### Use .tgswitchrc file -drawing - -1. Create a `.tgswitchrc` file containing the desired version -2. For example, `echo "0.14.1" >> .tgswitchrc` for version 0.14.1 of terragrunt -3. Run the command `tgswitch` in the same directory as your `.tgswitchrc` - -**Automatically switch with bash** - -Add the following to the end of your `~/.bashrc` file: -(Use `.tgswitchrc`) - -``` -cdtgswitch(){ - builtin cd "$@"; - cdir=$PWD; - if [ -f "$cdir/.tgswitchrc" ]; then - tgswitch - fi -} -alias cd='cdtgswitch' -``` - -drawing - -**Automatically switch with zsh** - - -Add the following to the end of your `~/.zshrc` file: - -``` -load-tgswitch() { - local tgswitchrc_path=".tgswitchrc" - - if [ -f "$tgswitchrc_path" ]; then - tgswitch - fi -} -add-zsh-hook chpwd load-tgswitch -load-tgswitch -``` -> NOTE: if you see an error like this: `command not found: add-zsh-hook`, then you might be on an older version of zsh (see below), or you simply need to load `add-zsh-hook` by adding this to your `.zshrc`: -> ``` -> autoload -U add-zsh-hook -> ``` - -*older version of zsh* -``` -cd(){ - builtin cd "$@"; - cdir=$PWD; - if [ -f "$cdir/.tgswitchrc" ]; then - tgswitch - fi -} -``` - - -
- -## Issues - -Please open *issues* here: [New Issue](https://github.com/warrensbox/tgswitch/issues){:target="_blank"} - -
- -See how to *upgrade*, *uninstall*, *troubleshoot* here: -[Additional Info](additional) \ No newline at end of file diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index a166e14..0000000 --- a/docs/index.md +++ /dev/null @@ -1,127 +0,0 @@ -# Terragrunt Switcher - -The `tgswitch` command line tool lets you switch between different versions of [terragrunt](https://www.terragrunt.io/){:target="_blank"}. -If you do not have a particular version of terragrunt installed, `tgswitch` will download the version you desire. -The installation is minimal and easy. -Once installed, simply select the version you require from the dropdown and start using terragrunt. - -
- -## Installation - -`tgswitch` is available for MacOS and Linux based operating systems. - -### Homebrew - -Installation for MacOS is the easiest with Homebrew. [If you do not have homebrew installed, click here](https://brew.sh/){:target="_blank"}. - - -```ruby -brew install warrensbox/tap/tgswitch -``` - -### Linux - -Installation for Linux operation systems. - -```sh -curl -L https://github.com/raw/warrensbox/tgswitch/release/install.sh | bash -``` - -### Install from source - -Alternatively, you can install the binary from the source [here](https://github.com/warrensbox/tgswitch/releases) - -
- -## How to use: -### Use dropdown menu to select version -drawing - -1. You can switch between different versions of terragrunt by typing the command `tgswitch` on your terminal. -2. Select the version of terragrunt you require by using the up and down arrow. -3. Hit **Enter** to select the desired version. - -The most recently selected versions are presented at the top of the dropdown. - -### Supply version on command line -drawing - -1. You can also supply the desired version as an argument on the command line. -2. For example, `tgswitch 0.10.5` for version 0.10.5 of terragrunt. -3. Hit **Enter** to switch. - -### Use custom installation location (For non-admin - users with limited privilege on their computers) -You can specify a custom binary path for your terragrunt installation - -1. Create a custom binary path. Ex: `mkdir /Users/warrenveerasingam/bin` (replace warrenveerasingam with your username) -2. Add the path to your PATH. Ex: `export PATH=$PATH:/Users/warrenveerasingam/bin` (add this to your bash profile or zsh profile) -3. Pass -b or --bin parameter with your custom path to install terragrunt. Ex: `tgswitch -b /Users/warrenveerasingam/bin/terragrunt 0.14.1 ` - -### Use .tgswitchrc file -drawing - -1. Create a `.tgswitchrc` file containing the desired version -2. For example, `echo "0.14.1" >> .tgswitchrc` for version 0.14.1 of terragrunt -3. Run the command `tgswitch` in the same directory as your `.tgswitchrc` - -**Automatically switch with bash** - -Add the following to the end of your `~/.bashrc` file: -(Use `.tgswitchrc`) - -``` -cdtgswitch(){ - builtin cd "$@"; - cdir=$PWD; - if [ -f "$cdir/.tgswitchrc" ]; then - tgswitch - fi -} -alias cd='cdtgswitch' -``` - -drawing - -**Automatically switch with zsh** - - -Add the following to the end of your `~/.zshrc` file: - -``` -load-tgswitch() { - local tgswitchrc_path=".tgswitchrc" - - if [ -f "$tgswitchrc_path" ]; then - tgswitch - fi -} -add-zsh-hook chpwd load-tgswitch -load-tgswitch -``` -> NOTE: if you see an error like this: `command not found: add-zsh-hook`, then you might be on an older version of zsh (see below), or you simply need to load `add-zsh-hook` by adding this to your `.zshrc`: -> ``` -> autoload -U add-zsh-hook -> ``` - -*older version of zsh* -``` -cd(){ - builtin cd "$@"; - cdir=$PWD; - if [ -f "$cdir/.tgswitchrc" ]; then - tgswitch - fi -} -``` - -
- -## Issues - -Please open *issues* here: [New Issue](https://github.com/warrensbox/tgswitch/issues){:target="_blank"} - -
- -See how to *upgrade*, *uninstall*, *troubleshoot* here: -[Additional Info](additional) \ No newline at end of file diff --git a/main.go b/main.go index 9413610..b8a4d67 100644 --- a/main.go +++ b/main.go @@ -118,7 +118,7 @@ func main() { installVersion(tgversion, &binPath) /* if terragrunt.hcl file found (IN ADDITION TO A TOML FILE) */ case lib.FileExists(TGHACLFile) && checkVersionDefinedHCL(&TGHACLFile) && len(args) == 0: - installTGHclFile(&TGHACLFile, binPath, proxyUrl) + installTGHclFile(&TGHACLFile, binPath, terragruntURL) /* if terragrunt Version environment variable is set (IN ADDITION TO A TOML FILE)*/ case checkTGEnvExist() && len(args) == 0 && version == "": tgversion := os.Getenv("TG_VERSION") @@ -158,7 +158,7 @@ func main() { installVersion(tgversion, custBinPath) /* if terragrunt.hcl file found */ case lib.FileExists(TGHACLFile) && checkVersionDefinedHCL(&TGHACLFile) && len(args) == 0: - installTGHclFile(&TGHACLFile, *custBinPath, proxyUrl) + installTGHclFile(&TGHACLFile, *custBinPath, terragruntURL) /* if terragrunt Version environment variable is set*/ case checkTGEnvExist() && len(args) == 0: tgversion := os.Getenv("TG_VERSION") diff --git a/www/docs/CNAME b/www/docs/CNAME new file mode 100644 index 0000000..eeaa8b8 --- /dev/null +++ b/www/docs/CNAME @@ -0,0 +1 @@ +tgswitch.warrensbox.com \ No newline at end of file diff --git a/www/docs/index.md b/www/docs/index.md index bf94b59..a5c7f31 100644 --- a/www/docs/index.md +++ b/www/docs/index.md @@ -1,6 +1,6 @@ # What is tgswitch -drawing +drawing The `tgswitch` command line tool lets you switch between different versions of terragrunt. If you do not have a particular version of terragrunt installed, `tgswitch` will download the version you desire.