Skip to content

Defines a curve

Compare
Choose a tag to compare
@eq19 eq19 released this 08 Jul 05:52
· 3430 commits to v3 since this release

image

set_target() {
  
  # Get Structure
  if [[ "$2" == *"github.io"* ]]; then
    [[ -n "$ID" ]] && SPIN=$( echo $ID | sed 's/.* //')
    IFS=', '; array=($(pinned_repos.rb ${OWNER} | yq eval -P | sed "s/ /, /g"))
  else
    HEADER="Accept: application/vnd.github+json"
    echo ${INPUT_TOKEN} | gh auth login --with-token
    gh api -H "${HEADER}" /users/eq19/gists --jq '.[].files.[].raw_url' > /tmp/tempout
    IFS=', '; array=($(gh api -H "${HEADER}" /user/orgs  --jq '.[].login' | sort -uf | yq eval -P | sed "s/ /, /g"))
  fi