Giter Club home page Giter Club logo

Comments (5)

inhere avatar inhere commented on September 28, 2024

原来实现的比较简单。一直也没时间进一步优化改进 :)

有兴趣可以参与改进下

from gcli.

hb0730 avatar hb0730 commented on September 28, 2024

@inhere Command Cli时好像无法正确解析bool类型

1658899319246

image

image

from gcli.

inhere avatar inhere commented on September 28, 2024

这是参照 go flag 的逻辑处理的。
bool 值一般不会主动通过输入设置false,因为默认就是false。
要设置只能 -f=false。 go flag 底层没改的话应该也是这样的

from gcli.

hb0730 avatar hb0730 commented on September 28, 2024

@inhere 也试过 go flag方式init -f=false vue-test

会提示错误

ERROR: option error - bad flag syntax: -=

image

from gcli.

inhere avatar inhere commented on September 28, 2024

👍 哦 看到调试信息,好像知道哪里错误了

from gcli.

Related Issues (14)

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.