Products

@webship.co/workspace-products 1.0.2 · github.com/webship/workspace-products · npm

The Products workspace of the Webship Workspace dashboard: the products/ folder (type sites), its settings file (core/config/workspace.products.settings.yml), its commands and its docs, as a plugin.

Use it

cd ~/workspace
bash core/scripts/plugins.sh --require github:webship/workspace-products
bash core/scripts/plugins.sh --activate products     # puts `products` on the workspaces list of settings.yml
bash core/scripts/plugins.sh --install products      # the folder, its settings file (once), its commands, its docs (once)

The settings file and the docs are placed once and never overwritten: they hold what you put there. --deactivate takes the workspace off the list; the folder and its content stay.

The commands

Command
cmd-tool-backup-product.sh
cmd-tools-checks.sh
cmd-tools-clone.sh
cmd-tools-gitlab-ci-local.sh
cmd-tools-reclaim.sh
cmd-tools-screen.sh

The bash functions these commands call live in the dashboard's core/scripts/functions.