Skip to content

Latest commit

 

History

History
115 lines (73 loc) · 1.56 KB

cli_reference.md

File metadata and controls

115 lines (73 loc) · 1.56 KB

CLI Commands

  1. Login [DONE]
meltcd login

# Get access token using --show-token flag
meltcd login --show-token
  1. Create a new Application [DONE]
meltcd app create <app-name> --repo <repo> --path <path-to-spec>
  1. Create a new Application with file [DONE]
meltcd app create --file <path-to-file>
  1. Update existing Application [DONE]
meltcd app update <app-name> --repo <repo> --path <path-to-spec>

# Or using file

meltcd app update --file <path-to-file>
  1. Get details about Application [DONE]
meltcd app get <app-name>

# or
meltcd app inspect <app-name>
  1. List all the running applications
meltcd app list

# or

meltcd app ls
  1. Force refresh (synchronize) the application [DONE]
meltcd app refresh <app-name>

# or

meltcd app sync <app-name>
  1. Recreate application [DONE]
meltcd app recreate <app-name>
  1. Remove an application [DONE]
meltcd app remove <app-name>

# or

meltcd app rm <app-name>

Private Repository

  1. Add a private repository auth credentials [DONE]
meltcd repo add <repo> --git --username <username> --password <password>

Options --git if repo is the git repository --image if repo is Container image

  1. List all added repositories [DONE]
meltcd repo ls

#or

meltcd repo list
  1. Remove a repository [DONE]
meltcd repo rm <repo>

# or

meltcd repo remove <repo>
  1. Update a repository [DONE]
meltcd repo update <repo> --git --username <username> --password <password>