Project
Overview
The project
subcommand helps to developers to administer various aspects of their project.
Configure
Configures the current repository codebase, creating an airbase configuration at ./airbase.json
.
Usage
airbase project configure
Effect
- airbase.json output
Sample Output
Configuring project for Airbase
Creating new configuration file (will overwrite existing one)
? Project Name: template-nextjs-helloworld
? Framework: nextjs
? Command to start production server: next start
+ {
+ name: "template-nextjs-helloworld"
+ framework: "nextjs"
+ scripts: {
+ start: "next start"
+ }
+ }
? Save configuration? Yes
Configuration saved in ./airbase.json
Run airbase build to create a deployment package.
Link
Usage
airbase project link
Effect
- airbase.json output
Sample Output
? Overwrite existing link? (current: NextJS Hello World Template) Yes
? Select project
Application A
Application B
Application C
❯ NextJS Hello World Template
Application E
(Move up and down to reveal more choices)
? Select project NextJS Hello World Template
Link saved
List
Display a list of project handles accessible from their current account.
Usage
airbase project list
Sample Output
agency-test
simple-next-app
template-nextjs-helloworld