Open plinto
Docs›Reference›Command line

plinto run

Command line
⚙Made from plinto's own help, so it says what the command does. plinto help run prints the same in your terminal.
What it does

Build the service you are in without tests, then run it.

plinto run [options] [-- <arguments>]

Builds the service you are in without tests, against the workspace's releases, then runs it with the terminal's input and output, in its folder .run/<name>/ in the workspace, where the releases it depends on are linked: their executables are ./bin/<executable>, and no other project's. The arguments after -- go to it, and its exit code is plinto's. With -q it shows only the build's errors, not its progress or warnings.

Its configuration is what the build collected in build/configuration/, which PLINTO_CONFIGURATION names. It runs as region my-local-1, environment local and stage local, in PLINTO_REGION, PLINTO_ENV and PLINTO_STAGE, so lines such as *.local.*.db.url = … apply. --region, --env and --stage replace each, as a deployment there would; a variable already set in the terminal replaces its default too.

Options

OptionWhat it does
-p, --project <dir>the folder to start from instead of the current directory
-q, --quietshow only the program's output and the build's errors
--parallel <n>build up to n independent projects at once (default 1)
--region <region>run it as in this region, eu-west-1: PLINTO_REGION
--env <environment>run it as in this environment, test or prod: PLINTO_ENV
--stage <stage>run it as in this pipeline stage, Beta or Prod: PLINTO_STAGE
-h, --helpshow this help