EGOIST

Results 413 comments of EGOIST

Not sure if we need the `components` folder, you can simply use a theme for this: ```yaml theme: ./components ``` Then you can put layout components in `./components/layouts/`. Peco will...

Oh I actually forgot that Peco ignores all files/folders starting with an underscore `_` (except `_posts`), so `_drafts` directory is already excluded by default 😅

ah I think something like this would work for you: ```markdown --- title: This is a post compileTemplate: true --- ``` https://github.com/egojump/peco/blob/master/docs/using-vue-template-in-markdown.md

Working on it: https://peco.upa.sh

Ah yes, I actually forgot why it was designed to be an array by default 😅

what if `cli.option('n', { type: 'string', desc: 'something' })` ?

I think it's a minimist issue, related to this line: https://github.com/substack/minimist/blob/4cf45a26b9af5f4ddab63107f4007485e576cfd3/index.js#L186 For a workaround, you can use `process.argv[3]` directly.

maybe we can add an event for unknown options and leave this to user-land: ```js cli.on('unknown:option', option => { // Check if there's similar option name }) ```

@vvni Nope but you can help by [sponsoring me](https://github.com/sponsors/egoist) or sending a PR.

> @joaotavora: In fact, what should IMO happen is if there is a negated option, it should be merged with the affirmative case in the help, using the `[no-]foo` syntax....