import が「GitHub → stdout(新規YAML生成)」なのに対し、import --into は「GitHub → ローカルマニフェスト(既存YAML更新)」。apply の逆方向。
gh infra import owner/repo --into=./repos/manifest.yaml # 特定ファイル
gh infra import owner/repo --into=./repos/ # ディレクトリ検索
| {"label":"coverage","message":"69.6%","schemaVersion":1,"color":"hsl(83, 100%, 40%)"} |
| {"label":"coverage","message":"44.2%","schemaVersion":1,"color":"hsl(53, 100%, 40%)"} |
| {"label":"client coverage","message":"70.79%","schemaVersion":1,"color":"hsl(84, 100%, 40%)"} |
| {"label":"coverage","message":"74.8%","schemaVersion":1,"color":"hsl(89, 100%, 40%)"} |
| dir="${1:-.}" | |
| cnt=1 | |
| done=0 | |
| files=() | |
| for file in ${dir}/* | |
| do | |
| case ${file##*.} in | |
| "ARW" | "arw") | |
| true |
| for i in {1..10} | |
| do | |
| { | |
| c=$((RANDOM % 6 + 1)) | |
| echo "start $c" | |
| sleep $c | |
| echo "end $c" | |
| } & | |
| if (( (i % 5) == 0 )); then | |
| wait |
| package main | |
| import ( | |
| "errors" | |
| "github.com/jmoiron/sqlx" | |
| _ "github.com/mattn/go-sqlite3" | |
| ) | |
| func main() { |
| Output afx.gif | |
| # Set Theme "Builtin Solarized Dark" | |
| Set FontSize 55 | |
| Set Width 2400 | |
| Set Height 800 | |
| Type "afx install" | |
| Enter |
| #!/bin/bash | |
| out=/tmp/cover.out | |
| html=/tmp/cover.html | |
| go test -cover ./... -coverprofile=$out | |
| go tool cover -html=$out -o $html | |
| open $html | |
| sleep 1 | |
| rm $out $html |