Coder Social home page Coder Social logo

Comments (3)

monkut avatar monkut commented on May 27, 2024

The zappa command line interface offers the -v, --version option to print the current version.

You can view the available options/commands via -h, --help:

zappa -h
usage: zappa [-h] [-v] [--color {auto,never,always}]
             {certify,deploy,init,package,template,invoke,manage,rollback,schedule,status,tail,undeploy,unschedule,update,shell,save-python-settings-file} ...

Zappa - Deploy Python applications to AWS Lambda and API Gateway.

options:
  -h, --help            show this help message and exit
  -v, --version         Print the zappa version
  --color {auto,never,always}

subcommands:
  {certify,deploy,init,package,template,invoke,manage,rollback,schedule,status,tail,undeploy,unschedule,update,shell,save-python-settings-file}
    certify             Create and install SSL certificate
    deploy              Deploy application.
    init                Initialize Zappa app.
    package             Build the application zip package locally.
    template            Create a CloudFormation template for this API Gateway.
    invoke              Invoke remote function.
    manage              Invoke remote Django manage.py commands.
    rollback            Rollback deployed code to a previous version.
    schedule            Schedule functions to occur at regular intervals.
    status              Show deployment status and event schedules.
    tail                Tail deployment logs.
    undeploy            Undeploy application.
    unschedule          Unschedule functions.
    update              Update deployed application.
    shell               A debug shell with a loaded Zappa object.
    save-python-settings-file
                        Generate & save the Zappa settings Python file for docker deployments

from zappa.

simsong avatar simsong commented on May 27, 2024

Thanks. I don't know why I missed that!

from zappa.

simsong avatar simsong commented on May 27, 2024

I figured out why I missed it. For most of the Unix CLI commands that I'm familiar with, the options at the beginning with dashes are modifiers that impact the commands that follow. For example, the Python interpreter uses -v for verbose, as does cp and mv. So when I saw the -v, I assumed it meant verbose, and I probably skipped over the explanatory text.

Then I looked below at all of the commands. They don't seem to be any particular order, so I had to read every line of the list, rather than just scan it. This directed my attention at the lower part, and so again, I didn't have reason to scan the top.

In any event, the -v command is there, and it's too late to change this, so I'm closing. Thanks.

from zappa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.