login

Authenticates you with Ghostable. Prompts
  • Email address
  • Password (hidden)

init

Links the current directory to a Ghostable project and creates ghostable.yaml. Prompts
  • Select an existing project or choose [Create a new project]
  • If creating a new project, enter the project name

env:init

Creates a new environment for the current project. Prompts
  • Select an environment type (e.g., Production, Staging)
  • Select a base environment or choose Standalone
  • If --name isn’t provided:
    • Choose from suggested names or Custom name
    • If custom, enter a slug-formatted name

env:pull

Downloads an environment file from Ghostable to the local machine. Prompts
  • Pick which environment to pull (if --environment not provided)
  • Choose the file format (with a Default option)
  • Confirm that you want to overwrite any existing file

env:push

Uploads your local environment file to Ghostable. Prompts
  • Pick the environment to push (if --environment not provided)
  • Confirm before overwriting the server’s environment
  • If the environment doesn’t exist locally, warns and offers to create it

env:diff

Compares local environment variables with those stored in Ghostable. Prompts
  • Select which environment to diff (if --environment not provided)
  • Displays variables categorized as added, updated, or removed

env:deploy

Fetches environment variables intended for deployment and injects them into commands at runtime. No files are written to disk. Requires GHOSTABLE_CI_TOKEN. Options
  • --exec <cmd> run a command with the variables loaded (repeatable)
  • --laravel rebuild Laravel config cache and optionally restart Horizon
  • --plan list variable names without executing commands
  • --dry-run do everything except run the commands
  • --no-redact print secret values in logs (interactive TTY only)

env:validate

Sends your local environment file to Ghostable for validation. Prompts
  • Select which environment to validate (if --environment not provided)
  • Validation errors, if any, are listed

project:list

Lists all projects in your current organization context. Prompts
  • None (output is a table of ID, Name, Environments)

organization:list

Displays all organizations you belong to and marks the current one. Prompts
  • None (output is a table of ID, Name, Current)

organization:current

Shows the name of the organization currently in use. Prompts
  • None (prints the current organization)

organization:switch (alias switch)

Switches to a different organization. Prompts
  • If --id is not supplied, select from a list of available organizations
  • If the supplied ID isn’t found, the command aborts with a message