S Technologies's Logo

Color

Green
Teal
Indigo
Blue
Purple
Red
Rose

Mode

Light

project

Link a directory to a project and application, create and manage projects and their environments, and read their usage, traffic and deployment reports.

The project group ties a directory to a project and application, so later commands know what they act on without a name. It also creates and changes projects and their environments, and reads the reports for them: usage and cost, traffic, metrics and deployment statistics. Use link once per directory, then the other commands work from there.

CommandWhat it does
linkResolve a project and application by name, and remember their ids for this directory
unlinkForget this directory’s link
lsList the projects you can see
inspectShow one project, the linked one when none is named
appsList a project’s applications and what each is doing
createCreate a project
updateRename a project, or change its description or default server
rmRemove a project that has no applications
environment:addAdd an environment to a project
environment:renameChange an environment’s label; its key stays the same
environment:rmRemove an environment that nothing is in
usageShow what the project used in a month, at this panel’s rates
estimateShow the project’s usage priced at another vendor’s rates
analyticsShow the project’s traffic, from the proxy’s own log
metricsShow CPU, memory and restarts across the project over days
statsShow how the project’s deployments went

Every command also takes --json, --quiet and --help. The shortcuts stechbd link and stechbd unlink run project link and project unlink.

stechbd project ls

Lists the projects that your login can see. Run it to find a slug to pass to link, or to check that a project exists.

bash
stechbd project ls

stechbd project inspect

Shows one project. When no project is named, it shows the project linked to the current directory.

bash
stechbd project inspect [<project>]
OptionDescription
<project>The project slug. Optional; defaults to the linked project.
bash
stechbd project inspect
stechbd project inspect blog

stechbd project apps

Lists the applications in a project and what each one is doing. Run it to see the application slugs to use with link.

bash
stechbd project apps [<project>]
OptionDescription
<project>The project slug. Optional; defaults to the linked project.
bash
stechbd project apps blog

stechbd project create

Creates a project with the name you give. Use --slug to set its slug, --server for its default server, and --account to pick the account it is created in.

bash
stechbd project create <name> [--slug <slug>] [--server <id>] [--description <text>] [--account <account>]
OptionDescription
<name>The display name of the project. Required. Quote it if it contains spaces.
--slug <slug>The URL slug to use for the project, instead of one derived from the name.
--server <id>The default server for the project.
--description <text>A description for the project.
--account <account>The account to create the project in, by slug or id.
bash
stechbd project create "Marketing site" --description "Public pages"

stechbd project update

Changes a project’s name, description or default server. At least one of --name, --description or --server is required.

bash
stechbd project update [<project>] [--name <name>] [--description <text>] [--server <id>]
OptionDescription
<project>The project slug. Optional; defaults to the linked project.
--name <name>The new display name.
--description <text>The new description.
--server <id>The new default server.
bash
stechbd project update blog --name "Company blog"

stechbd project rm

Removes a project along with its environments. The command refuses when the project still has applications, and names how many, so remove those first. The command asks for confirmation first, unless --yes is passed.

bash
stechbd project rm <project> [--yes]
OptionDescription
<project>The project slug. Required.
--yesSkip the confirmation prompt.
bash
stechbd project rm old-blog --yes

stechbd project environment:add

Adds an environment to a project. The key is the identifier other commands use, and --name is the label shown for it. To change the label later, use environment:rename.

bash
stechbd project environment:add <key> --name <name> [--project <project>]
OptionDescription
<key>The environment key, for example staging. Required.
--name <name>The label for the environment. Required.
--project <project>The project slug. Optional; defaults to the linked project.
bash
stechbd project environment:add staging --name Staging

stechbd project environment:rename

Changes the label of an environment. Its key stays the same, so anything that refers to the key keeps working.

bash
stechbd project environment:rename <key> --name <name> [--project <project>]
OptionDescription
<key>The environment key to relabel. Required.
--name <name>The new label. Required.
--project <project>The project slug. Optional; defaults to the linked project.
bash
stechbd project environment:rename staging --name QA

stechbd project environment:rm

Removes an environment. The panel refuses while an application is still in it, so move those applications out first. The production environment cannot be removed. The command asks for confirmation first, unless --yes is passed.

bash
stechbd project environment:rm <key> [--project <project>] [--yes]
OptionDescription
<key>The environment key to remove. Required.
--project <project>The project slug. Optional; defaults to the linked project.
--yesSkip the confirmation prompt.
bash
stechbd project environment:rm staging --yes

stechbd project usage

Shows what the project used in a calendar month, priced at this panel’s own rates. Pass --period to choose the month.

bash
stechbd project usage [<project>] [--period <yyyy-mm>]
OptionDescription
<project>The project slug. Optional; defaults to the linked project.
--period <yyyy-mm>The calendar month to report, for example 2026-10.
bash
stechbd project usage blog --period 2026-10

stechbd project estimate

Shows the same usage as usage, priced at another vendor’s rates. Use it to compare what the project would cost elsewhere.

bash
stechbd project estimate [<project>] [--period <yyyy-mm>]
OptionDescription
<project>The project slug. Optional; defaults to the linked project.
--period <yyyy-mm>The calendar month to estimate, for example 2026-10.
bash
stechbd project estimate blog --period 2026-10

stechbd project analytics

Shows the project’s traffic, taken from the proxy’s own log. Use --days for the window, --resolution for how finely it is split, and --compare to set it against an earlier period. The values are passed to the panel as typed.

bash
stechbd project analytics [<project>] [--days <n>] [--resolution <resolution>] [--compare <compare>]
OptionDescription
<project>The project slug. Optional; defaults to the linked project.
--days <n>How many days to report. A whole number of at least 1.
--resolution <resolution>How finely to split the window, as the panel accepts it.
--compare <compare>The earlier period to compare against, as the panel accepts it.
bash
stechbd project analytics blog --days 30

stechbd project metrics

Shows CPU, memory and restarts across the project over a number of days. Use it to check whether an application is under pressure or restarting.

bash
stechbd project metrics [<project>] [--days <n>] [--resolution <resolution>]
OptionDescription
<project>The project slug. Optional; defaults to the linked project.
--days <n>How many days to report. A whole number of at least 1.
--resolution <resolution>How finely to split the window, as the panel accepts it.
bash
stechbd project metrics blog --days 7

stechbd project stats

Shows how the project’s deployments went over a number of days. Use --compare to set the period against an earlier one.

bash
stechbd project stats [<project>] [--days <n>] [--resolution <resolution>] [--compare <compare>]
OptionDescription
<project>The project slug. Optional; defaults to the linked project.
--days <n>How many days to report. A whole number of at least 1.
--resolution <resolution>How finely to split the window, as the panel accepts it.
--compare <compare>The earlier period to compare against, as the panel accepts it.
bash
stechbd project stats blog --days 14 --json