Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Plugin: "%" appearing after version number #261

Open
OfficialCRUGG opened this issue Oct 29, 2024 · 0 comments
Open

Version Plugin: "%" appearing after version number #261

OfficialCRUGG opened this issue Oct 29, 2024 · 0 comments

Comments

@OfficialCRUGG
Copy link

Hey there,

I'm using the version plugin:

#!/usr/bin/env node

import { Clerc, helpPlugin, versionPlugin } from "clerc";

const cli = Clerc.create()
  .scriptName("my-cli")
  .description("Hello World")
  .version("0.1.0")

  .use(helpPlugin())
  .use(versionPlugin())

  .command("init", "Initialize a project")

  .parse();

And when I run ./dist/cli.js -V or ./dist/cli.js --version or ./dist/cli.js version, the output looks like this:
image
Where is this weird percentage symbol with the white background coming from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant