Comments (4)
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.
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.
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.
sweet!
from goa.
Related Issues (20)
- Does Goa create client code as well as CLI code? HOT 10
- Support OpenAPI V3 YAML/JSON oneof HOT 4
- can't set cookie 'SameSite' attribute HOT 2
- How to get the native *http.Request from the payload? HOT 2
- Missing schemas in OpenAPI spec when using union types HOT 3
- Declare POST request contain an array of object HOT 2
- Bumping goa.design/plugins/v3 from 3.14.0 to 3.14.1 is causing my client generation to fail HOT 3
- Generated code for nested inline attributes doesn't compile HOT 2
- Deprecated Code in Generated http.go using goa example
- meta for externalDocs and deprecated? HOT 4
- Map as Query Param not working? HOT 2
- Using Param() to map path parameters to attributes results in a runtime error HOT 5
- Panic in main HOT 2
- Goa panics when query params have unclosed square brackets HOT 2
- Goa panics when a user provides an explicit `null` where a `Map` is expected, if it's a nested structure HOT 2
- Middleware in design? HOT 6
- Goa generating uncompilable code while using views on types that contain OneOf union type
- Goa generating invalid code when OneOf types is a user defined type
- Example generation failed in the latest version HOT 3
- Generated server code parses query parameters repeatedly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goa.