From 0.3.1

Upload the lambda content from the current directory to a remote instance of trusted-cgi.

Files defined in .cgiignore file will be ignored (uses tar --exclude-form syntax).

Important! aliases should be changed over alias command. If you uploaded new aliases manually via record in manifest a platform restart required (for re-index). It will be fixed in a future releases.

  cgi-ctl [OPTIONS] upload [upload-OPTIONS]

Help Options:
  -h, --help             Show this help message

[upload command options]
      -l, --login=       Login name (default: admin) [$LOGIN]
      -p, --password=    Password (default: admin) [$PASSWORD]
      -P, --ask-pass     Get password from stdin [$ASK_PASS]
      -u, --url=         Trusted-CGI endpoint (default: [$URL]
          --ghost        Disable save credentials to user config dir [$GHOST]
          --independent  Disable read credentials from user config dir [$INDEPENDENT]
      -U, --uid=         Lambda UID (if empty - dirname of input will be used) [$UID]
          --input=       Directory (default: .) [$INPUT]

Example 1 (lambda e0ed902f-4a9c-4c29-870d-f343f330b6ab)

cgi-ctl upload -o e0ed902f-4a9c-4c29-870d-f343f330b6ab --url -P

will ask password for admin user, make archive and upload to the instance