Skip to main content

add

Add a new functionality to an existing project.

archibald add|a [options] <function>

Arguments

ArgumentDescription
functionSelect the functionality that should be added to the project. Possible values:
  • expo
  • react-native
  • capacitor
  • cypress
  • maestro
  • storybook
  • service-worker
  • vercel
  • platform (Not implemented)
  • tenant (Not implemented)
  • swagger

expo options

OptionDescription
-p, --platform [platform]Specify a platform that should be added.
-t, --template [template]Specify a template that should be added. Possible values:
  • basic
  • shop

react-native options

OptionDescription
-p, --platform [platform]Specify a platform that should be added.
-t, --template [template]Specify a template that should be added. Possible values:
  • basic
  • shop

capacitor options

OptionDescription
-p, --platforms [platforms]Specify a platform that should be added. Required when capacitor was selected for function argument. Multiple values possible:
  • ios
  • android

maestro options

OptionDescription
-p, --template [template]Specify the template to scaffold from. Possible values:
  • basic
  • shop

See End-to-end testing → Maestro for the full workflow.

vercel options

OptionDescription
-r, --runtimeSpecify the Node.js runtime the Vercel Function should use. Default: nodejs22.x.
-sb, --storybookAlso enable a static Storybook Vercel deployment (sets cli/storybook/vercel/active). Default: false. See Vercel integration.

swagger options

OptionDescription
-e, --endpointSpecify if you would like to use a swagger endpoint file. Default: false.

platform options

OptionDescription
-p, --platformSpecify a platform that should be added.

General options

OptionDescription
-i, --installInstall dependencies. Default: true .
-q, --quietDon't use interactive cli and run the command with default options. Default: false.
-h, --helpShow help commands.