diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfbf16f7..0a741d0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -535,6 +535,8 @@ jobs: runs-on: ubuntu-22.04 needs: [build-cli-docker-image] if: needs.build-cli-docker-image.result == 'success' + permissions: + contents: write steps: - name: Checkout diff --git a/README.md b/README.md index f1de1944..f55827af 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ View the [documentation](https://docs.poke-cli.com) on the data infrastructure in [data_platform/](https://github.com/digitalghost-dev/poke-cli/tree/main/data_platform) if you're interested. * [Demo](#demo) -* [Installation](#installation) +* [Installation & Updating](#installation--updating) * [Usage](#usage) * [Roadmap](#roadmap) * [Tested Terminals](#tested-terminals) @@ -40,17 +40,13 @@ View the [documentation](https://docs.poke-cli.com) on the data infrastructure i --- ## Demo -### Video Game Data -![demo-vg](https://dc8hq8aq7pr04.cloudfront.net/demo-v1.6.0.gif) +![poke-cli-demo](https://dc8hq8aq7pr04.cloudfront.net/poke-cli-demo.gif) -### Trading Card Game Data - -![demo-tcg](https://dc8hq8aq7pr04.cloudfront.net/poke-cli-card-v1.8.8.gif) --- -## Installation +## Installation & Updating * [Homebrew](#homebrew) * [Scoop](#scoop) @@ -72,6 +68,11 @@ Homebrew will install the CLI _and_ the Rust caching binary poke-cli ``` +To update: +```bash +brew upgrade --cask poke-cli +``` + ### Scoop Scoop will install the CLI _and_ the Rust caching binary @@ -90,6 +91,11 @@ Scoop will install the CLI _and_ the Rust caching binary poke-cli ``` +To update: +```bash +scoop update poke-cli +``` + ### Linux Packages [![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith&style=flat-square)](https://cloudsmith.com) @@ -102,7 +108,16 @@ Cloudsmith is a fully cloud-based service that lets you easily create, store, an | Package Type | Distributions | Repository Setup | Installation Command | |:------------:|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------| | `deb` | Ubuntu, Debian | `curl -1sLf 'https://dl.cloudsmith.io/public/digitalghost-dev/poke-cli/setup.deb.sh' \| sudo -E bash` | `sudo apt-get install poke-cli` | -| `rpm` | Fedora, CentOS, Red Hat, openSUSE | `curl -1sLf 'https://dl.cloudsmith.io/public/digitalghost-dev/poke-cli/setup.rpm.sh' \| sudo -E bash` | `sudo yum install poke-cli` | +| `rpm` | Fedora | `curl -1sLf 'https://dl.cloudsmith.io/public/digitalghost-dev/poke-cli/setup.rpm.sh' \| sudo -E bash` | `sudo yum install poke-cli` | + +To update: +```bash +# deb +sudo apt-get update && sudo apt-get install --only-upgrade poke-cli + +# rpm +sudo yum update poke-cli +``` ### Docker Image @@ -140,6 +155,11 @@ Cloudsmith is a fully cloud-based service that lets you easily create, store, an > ``` > If your terminal is not listed above, image rendering is not supported inside Docker. +To update, pull the new image tag: +```bash +docker pull digitalghostdev/poke-cli: +``` + ### Binary 1. Head to the [releases](https://github.com/digitalghost-dev/poke-cli/releases) page of the project. @@ -170,6 +190,8 @@ Cloudsmith is a fully cloud-based service that lets you easily create, store, an .\poke-cli ability airlock --pokemon ``` +To update, repeat the steps above with the newest release. + ### Source 1. Run the following command: @@ -178,6 +200,8 @@ Cloudsmith is a fully cloud-based service that lets you easily create, store, an ``` 2. The tool should be ready to use if `$PATH` is set up. +To update, re-run the install command above. + > [!TIP] > `go install` builds only the `poke-cli` binary, **not** the `poke-cache` caching helper (a separate binary that every packaged install bundles). `poke-cli` works the same without it; it just calls PokéAPI directly instead of caching responses on disk. To enable caching, download the `poke-cache` archive for your platform from the [releases](https://github.com/digitalghost-dev/poke-cli/releases/latest) page, extract it, and move the `poke-cache` binary onto your `$PATH`. diff --git a/data_platform/infrastructure/start-dagster.sh b/data_platform/infrastructure/start-dagster.sh index 06b94cac..9b3f873a 100644 --- a/data_platform/infrastructure/start-dagster.sh +++ b/data_platform/infrastructure/start-dagster.sh @@ -54,5 +54,12 @@ export DAGSTER_HOME # Activate the virtual environment source /home/ubuntu/poke-cli/data_platform/.venv/bin/activate +dbt parse \ + --project-dir /home/ubuntu/poke-cli/data_platform/pipelines/poke_cli_dbt \ + --profiles-dir /home/ubuntu/poke-cli/data_platform/pipelines/poke_cli_dbt || { + echo "ERROR: dbt parse failed" >&2 + exit 1 + } + # Start Dagster exec dg dev --host 0.0.0.0 --port 3000 \ No newline at end of file diff --git a/demo.gif b/demo.gif deleted file mode 100644 index 705d36c7..00000000 Binary files a/demo.gif and /dev/null differ diff --git a/demo.tape b/demo.tape deleted file mode 100644 index 1b3b277f..00000000 --- a/demo.tape +++ /dev/null @@ -1,264 +0,0 @@ -# VHS documentation -# -# Output: -# Output .gif Create a GIF output at the given -# Output .mp4 Create an MP4 output at the given -# Output .webm Create a WebM output at the given -# -# Require: -# Require Ensure a program is on the $PATH to proceed -# -# Settings: -# Set FontSize Set the font size of the terminal -# Set FontFamily Set the font family of the terminal -# Set Height Set the height of the terminal -# Set Width Set the width of the terminal -# Set LetterSpacing Set the font letter spacing (tracking) -# Set LineHeight Set the font line height -# Set LoopOffset % Set the starting frame offset for the GIF loop -# Set Theme Set the theme of the terminal -# Set Padding Set the padding of the terminal -# Set Framerate Set the framerate of the recording -# Set PlaybackSpeed Set the playback speed of the recording -# Set MarginFill Set the file or color the margin will be filled with. -# Set Margin Set the size of the margin. Has no effect if MarginFill isn't set. -# Set BorderRadius Set terminal border radius, in pixels. -# Set WindowBar Set window bar type. (one of: Rings, RingsRight, Colorful, ColorfulRight) -# Set WindowBarSize Set window bar size, in pixels. Default is 40. -# Set TypingSpeed