spotty exec

Execute a command in the container

usage: spotty exec [-h] [-d] [-c CONFIG] [-i] [-t] [-u USER] [--no-sync]
                   [INSTANCE_NAME] -- COMMAND [args...]

Positional Arguments


Instance name

Named Arguments

-d, --debug

Show debug messages

-c, --config

Path to the configuration file

-i, --interactive

Pass STDIN to the container

-t, --tty

Allocate a pseudo-TTY

-u, --user

Container username or UID (format: <name|uid>[:<group|gid>])


Don't sync the project before running the script

The double dash (--) separates the command that you want to execute inside the container from the Spotty arguments.