Pull remote content of kind $0 with name $1 to the local project directory.
Steps
- •
Detect the local folder first by invoking the
detect-local-content-folderskill with arguments$0 $1. - •
Pull the content:
- •If a local folder was detected at
<folder>, pull into it:shlabctl content pull $0 $1 --dir <folder> --force
- •If no local folder was detected, pull with the default directory naming:
sh
labctl content pull $0 $1 --dir $0s/$1 --force
- •If a local folder was detected at
The --force flag overwrites existing local files without confirmation.