tide_scaffold
START A NEW TIDE APP FROM A WORKING TEMPLATE. Returns the exact commands to copy a complete, building app — login, the DPoP page and its wiring, server-side token AND proof verification, and the realm bootstrap script — then install, bootstrap and check it. CALL THIS when building a new app, BEFORE writing any auth code: the code that most often goes wrong (provider config, DPoP, route and API protection) is then copied, not retyped. Pass situation and it picks the template; or name one. Not for adding Tide to an existing app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appDir | No | Directory to create the app in. Default: the current directory. | |
| appName | No | Lowercase name, e.g. 'mood-garden'. Becomes the package name, and so the realm and client names. | |
| template | No | Choose a template explicitly instead of from `situation`. | |
| situation | No | What the user wants to build, in their words. Used to pick the template. |