epicshop
v6.80.2
Published
The `epicshop` CLI installs, runs, and updates Epic Workshop repositories on your machine.
Readme
epicshop
The epicshop CLI installs, runs, and updates Epic Workshop repositories on
your machine.
It’s the recommended entry point for learners.
Install
npm install -g epicshopOr run without installing:
npx epicshop initUsage
First-time setup
epicshop initStart a workshop
Inside a workshop directory:
epicshop startOr start a specific workshop you’ve added:
epicshop start <workshop>Helpful commands
epicshop add <repo-name[#ref]> [destination]: clone a workshop from theepicweb-devGitHub org (use#to pin a tag, branch, or commit)epicshop list: list your workshopsepicshop open: open a workshop in your editorepicshop update: pull the latest workshop changesepicshop warm: warm caches for faster workshop startupepicshop cleanup: select what to delete (workshops, caches, offline videos, prefs, auth, config)epicshop exercises: list exercises with progress (context-aware)epicshop playground: view, set, or restore saved playgrounds (context-aware)epicshop progress: view or update your progress (context-aware)epicshop diff: show diff between playground and solution (context-aware)
Environment variables
EPICSHOP_APP_LOCATION: path to the@epic-web/workshop-appdirectoryEPICSHOP_EDITOR: preferred editor forepicshop openNODE_DEBUG: debug logging (see repo docs)
Programmatic usage
This package also exports ESM entrypoints:
import { start } from 'epicshop/start'
import { update } from 'epicshop/update'
import { warm } from 'epicshop/warm'
import { cleanup } from 'epicshop/cleanup'
import {
show,
set,
listSavedPlaygrounds,
setSavedPlayground,
selectAndSetSavedPlayground,
} from 'epicshop/playground'
import {
show as showProgress,
update as updateProgress,
} from 'epicshop/progress'
import { showProgressDiff, showDiffBetweenApps } from 'epicshop/diff'
import { list, showExercise } from 'epicshop/exercises'
import { status, login, logout } from 'epicshop/auth'Documentation
- CLI docs:
https://github.com/epicweb-dev/epicshop/tree/main/docs/cli.md - Debug logging:
https://github.com/epicweb-dev/epicshop/tree/main/docs/debug-logging.md
License
GPL-3.0-only.
