vvakame / commandpost

command line option parser for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Root description never displayed.

cdibbs opened this issue · comments

I have been hard-pressed to get the text passed into description to display:

            let root = commandpost
                .create<any, any>("")
                .version(this.pkg.version, "-v, --version")
                .description("This is a fancy program that does neat things.");
               // ...
            commandpost
                .exec(root, this.process.argv);

Am I doing something wrong? Thanks!

sorry for late reply.
I was fix it and ship soon. please wait.

@vvakame No problem. Thanks for the fix!

I just released v1.1.0. please check it. 😉