Coder Social home page Coder Social logo

Comments (4)

raphael avatar raphael commented on May 22, 2024

I'm not able to repro with the latest master, could you confirm this is fixed? Here is what I get:

 ~/g/s/g/r/g/goagen $ goagen --help
usage: codegen --design=DESIGN [<flags>] <command> [<args> ...]

The goagen tool generates various artifacts from a goa service design package.

Each command supported by the tool produces a specific type of artifacts. For
example the "app" command generates the code that supports the service
controllers.

The "bootstrap" command runs the "app", "main" and "swagger" commands
generating the controllers supporting code and main skeleton code (if not
already present) as well as the API Swagger specification.

Flags:
      --help           Show context-sensitive help (also try --help-long and
                       --help-man).
      --version        Show application version.
  -o, --out="/home/raphael/go/src/github.com/raphael/goa/goagen"  
                       output directory
  -d, --design=DESIGN  design package path
      --debug          enable debug mode

Commands:
  help [<command>...]
    Show help.

  bootstrap [<flags>]
    Bootstrap command, equivalent to running "app", "main" and "swagger" commands
    sequentially.

  app [<flags>]
    Generate application code

  main [<flags>]
    Generate application main skeleton

  client [<flags>]
    Generate API client tool and package

  swagger
    Generate swagger representation, see http://swagger.io

  schema [<flags>]
    Generate application JSON schema controller

  gen --pkg-path=PKG-PATH [<flags>]
    Invoke third party generator

from goa.

bketelsen avatar bketelsen commented on May 22, 2024

Maybe it's a dependency problem? I deleted my raphael/goa directory and did a fresh go get -a github.com/raphael/goa then go install github.com/raphael/goa/goagen and I still get the same output which is missing almost all of the help commands.

from goa.

raphael avatar raphael commented on May 22, 2024

Ah yes indeed, I was able to repro after doing a go get -u gopkg.in/alecthomas/kingpin.v2. The good news is that @on99's fix worked! Thank you both.

from goa.

bketelsen avatar bketelsen commented on May 22, 2024

sweet!

from goa.

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.