Factory
Pages

Commands

#new-project

Makes a hub and an app, and connects them. See Start a product.

new-project <name> [options]

A name has lowercase letters, digits and dashes. It starts with a letter.

OptionIt does
--owner <account>Creates the repositories under this GitHub account or organization. The default is your gh account.
--dir <path>Uses this folder. The default is ~/code/<name>.
--localUses bare repositories in <folder>/origins, with no GitHub and no AWS. Use it for a try-out.
--monorepoMakes npm workspaces, with the AdonisJS API in apps/api.
--connection <name>Uses this AWS connection, for another GitHub account.

The app is named <name>, and the hub is named <name>-hub.

#connect-repo

Deploys CI and the Flow review for one repository. It is safe to run again, and this updates the projects.

connect-repo <owner>/<repo> [options]
OptionIt does
--connection <name>Uses this AWS connection. The default is FACTORY_CONNECTION.
--app-path <folder>Gives the folder of the AdonisJS app, for a monorepo. The default is ..

#review-pr

Runs the Flow review of a pull request again. The Review button does the same. It uses FACTORY_REGION, and the default is ap-south-1.

review-pr <repo> <number>

#factory-session.sh

Starts one session. The panel runs it. It is in scripts/ of the hub.

scripts/factory-session.sh probe|explore|build|review|triage|accept <id>
scripts/factory-session.sh intake ["an item of the inbox"]

review here is a review by a person on your computer. It needs the folder of a build. The Review button of the panel runs the review on AWS.

#Commands of Herdr

CommandIt does
herdr-app lsLists the spaces, tabs and terminals
herdr-app statusShows what the window shows, and any errors
herdr-app check <folder>Loads a mod once, and reports what is wrong
herdr-app commandsLists each command that herdr-app do takes
hc --helpLists how to start, read and talk to terminals