GithubHelp home page GithubHelp logo

Comments (5)

alorenzen avatar alorenzen commented on June 9, 2024

This seems to be an issue with the args package, not webdev. The (defaults to on) is added automatically, not by us.
For boolean flags, it seems to only print the default value for on, but not off.

from webdev.

kwalrath avatar kwalrath commented on June 9, 2024

Do we need a bug on args?

Also... re-builds should be rebuilds.

from webdev.

natebosch avatar natebosch commented on June 9, 2024

Filed dart-lang/args#114

I'll fix the re-builds to rebuilds thing here.

from webdev.

grouma avatar grouma commented on June 9, 2024

I believe this is fixed. Our current help message:

Run builders to build a package.

Usage: webdev build [arguments]
-h, --help                        Print this usage information.
-o, --output                      A directory to write the result of a build to.
                                  Or a mapping from a top-level directory in the
                                  package to the directory to write a filtered
                                  build output to. For example "web:deploy".
                                  A value of "NONE" indicates that no "--output"
                                  value should be passed to `build_runner`.
                                  (defaults to "web:build")

-r, --[no-]release                Build with release mode defaults for builders.
                                  (defaults to on)

    --[no-]build-web-compilers    If a dependency on `build_web_compilers` is
                                  required to run.
                                  (defaults to on)

-v, --verbose                     Enables verbose logging.

Run "webdev help" to see global options.

Note that serve does not default to release mode, just the build command.

from webdev.

grouma avatar grouma commented on June 9, 2024

Oops. Apparently I can't read. This issue was explicitly for the serve command not the build command. Since there isn't work to be done on webdev I'm going to leave this as is. We have the tracking issue in package:args linked above.

from webdev.

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.