apps

Commands for creating and managing apps.

slasha create <name>

Create a new app. The name argument is a human-readable display name; Slasha derives a URL-safe slug from it automatically (lowercased, alphanumeric, and hyphens). The response includes both the slug and the Git remote URLs you will need to push code.

slasha create "my-api"

After creation the CLI prints the SSH and HTTPS Git remote URLs and the exact commands to wire up your local repository:

git remote add slasha slasha@slasha.example.com:my-api.git
git push -u slasha main

slasha list

List all apps on the server. Output columns: NAME, SLUG, STATUS, BRANCH.

slasha list

slasha info

Show details for a single app: name, slug, status, default branch, Git remote URLs, and whether auto_deploy is enabled.

slasha info --app my-api
  • --app <SLUG> — target app slug (optional if slasha.toml is present)

slasha apps auto-deploy

Enable or disable automatic deployments when pushing code.

slasha apps auto-deploy my-api on
slasha apps auto-deploy my-api off

slasha link

Write a slasha.toml file in the current directory that records the app slug. Once linked, all commands that accept --app will read the slug from this file automatically, so you don't have to pass it every time.

# interactive — select from a list of apps
slasha link

# non-interactive — specify the slug directly
slasha link --app my-api
  • --app <SLUG> — skip the interactive picker and link to this slug directly

slasha delete

Permanently delete an app along with all its deployments and attached services. You will be prompted to confirm unless -y is passed.

slasha delete --app my-api

# skip the confirmation prompt
slasha delete --app my-api -y
  • --app <SLUG> — target app slug (optional if slasha.toml is present)
  • -y / --yes — skip the confirmation prompt