corgi assets push
corgi assets push
Commit images to pr-assets/<key>, push, print the markdown to paste
Synopsis
Commits the image files to docs/pr-assets/<key>/ on the branch pr-assets/<key>
of the repository in --dir (default: the current directory), pushes it, and prints
one markdown image per file plus a one-row table. The user's checkout is not
touched: the work happens in a throwaway worktree.
corgi assets push shots/*.png --key ABC-123 corgi assets push before.png after.png --key ABC-123 --dir ../api --json
corgi assets push <file>... [flags]
Options
--base string branch the assets branch starts from the first time (default: origin's default branch)
--dir string repository directory (default ".")
-h, --help help for push
--key string story key that names the assets branch pr-assets/<key> (required)
Options inherited from parent commands
--describe Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean the .corgi/corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--interactive Force interactive prompts even when no TTY/agent detected
--isolate string Run this workspace under a named lease: own port block, own database names, own containers
--json Emit machine-readable JSON output
--privateToken string Private token for private repositories to download files
-o, --runOnce Run corgi once and exit
--silent Hide all welcome messages
SEE ALSO
- corgi assets - Images a PR/MR body can show: push them to the repo's assets branch