DefangLabs / defang

Defang CLI and sample projects
https://defang.io
MIT License
21 stars 5 forks source link
aws byoc cloud compose docker-compose

Go package

Defang

Defang is a radically simpler way for developers to create, deploy, and manage cloud applications.

This repo includes:

Getting started

Installing

Install the Defang CLI from one of the following sources:

Support

Command completion

The Defang CLI supports command completion for Bash, Zsh, Fish, and Powershell. To get the shell script for command completion, run the following command:

defang completion [bash|zsh|fish|powershell]

If you're using Bash, you can add the following to your ~/.bashrc file:

source <(defang completion bash)

If you're using Zsh, you can add the following to your ~/.zshrc file:

source <(defang completion zsh)

or pipe the output to a file called _defang in the directory with the completions.

If you're using Fish, you can add the following to your ~/.config/fish/config.fish file:

defang completion fish | source

If you're using Powershell, you can add the following to your $HOME\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 file:

Invoke-Expression -Command (defang completion powershell | Out-String)

Environment Variables

The Defang CLI recognizes the following environment variables: