diff --git a/Makefile b/Makefile index 05db445..2dbe4cd 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,6 @@ build: ## Build binary env GO111MODULE=on GOOS=$(GOOS) GOARCH=$(GOARCH) $(GO_BUILD) $(GO_LDFLAGS) -o $(S3HUB) cmd/s3hub/main.go env GO111MODULE=on GOOS=$(GOOS) GOARCH=$(GOARCH) $(GO_BUILD) $(GO_LDFLAGS) -o $(SPARE) cmd/spare/main.go - clean: ## Clean project -rm -rf $(S3HUB) $(SPARE) cover.out cover.html @@ -42,6 +41,7 @@ generate: ## Generate code from templates gif: docker ## Generate gif image vhs < doc/img/vhs/s3hub-mb.tape vhs < doc/img/vhs/s3hub-ls.tape + vhs < doc/img/vhs/s3hub-ls.tape vhs < doc/img/vhs/s3hub-rm-all.tape docker: ## Start docker (localstack) diff --git a/doc/img/s3hub-ls-objects.gif b/doc/img/s3hub-ls-objects.gif new file mode 100644 index 0000000..ecabc5b Binary files /dev/null and b/doc/img/s3hub-ls-objects.gif differ diff --git a/doc/img/vhs/s3hub-ls-objects.tape b/doc/img/vhs/s3hub-ls-objects.tape new file mode 100644 index 0000000..fe04120 --- /dev/null +++ b/doc/img/vhs/s3hub-ls-objects.tape @@ -0,0 +1,69 @@ +# 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