Links

CLI

Sabana CLI tool programmers reference guide.

Usage

sabana <SUBCOMMAND>

Flags

  • -h, --help: Prints help information
  • -V, --version: Prints version information

Subcommands

down

Terminates a deployed instance
sabana down instance_url

help

Prints this message or the help of the given subcommand(s)
sabana help [subcommand]...

init

Same as new but operates inside the current directory. Takes the current directory name as the image name
sabana init

login

Populates local environment with the user's access credentials
sabana login

logout

Removes the user's credentials from the local environment. Effectively logging the current device out
sabana logout

ls

List the images published by a given author. If no author provided lists the images for the current user
sabana ls [author]

new

Creates a new Sabana project, creating a new directory with the given image name
sabana new image

ps

Short for process. Summarizes the build processes currently running or the instances currently deployed
sabana ps [--clear]
Providing the --clear flag removes the finished entries from the table

push

Pushes the current source files in the project as a new image in the platform, using the name and the tag specified in the Sabana project file. Always uses the user currently logged in.
sabana push --tag [tag-string] -d
When --tag is provided this is used as tag instead.
When -d is provided it runs the build process in de-attached mode and returns the terminal to the user.

rm

Deletes the specified image. If a tag is not provided then all tags are deleted
sabana rm image or rm image:tag

time

Shows the time used by the user for the current calendar month
sabana time

up

Deploys a new instance using the specified image
sabana up author/image:tag
​