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.
| Option | It 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>. |
--local | Uses bare repositories in <folder>/origins, with no GitHub and no AWS. Use it for a try-out. |
--monorepo | Makes 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]| Option | It 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
| Command | It does |
|---|---|
herdr-app ls | Lists the spaces, tabs and terminals |
herdr-app status | Shows what the window shows, and any errors |
herdr-app check <folder> | Loads a mod once, and reports what is wrong |
herdr-app commands | Lists each command that herdr-app do takes |
hc --help | Lists how to start, read and talk to terminals |