Skip to content

[Bug]: wrong clie outputs on windows  #2028

Open
@lordrak007

Description

@lordrak007

Steps to Reproduce

download latest step and run in cli or powershell

Your Environment

  • OS - server 2022 or windows 11
  • step-ca Version -

Expected Behavior

Write output correctly

Actual Behavior

C:\Users\myuser\Desktop>step
←[0;1;99mNAME←[0m
←[0;1;99mstep←[0m -- plumbing for distributed systems

←[0;1;99mUSAGE←[0m
←[0;1;99mstep←[0m ←[0;4;39mcommand←[0m ←[0;4;39m[arguments]←[0m

←[0;1;99mOPTIONS←[0m
←[0;1;99m--help←[0m, ←[0;1;99m-h←[0m
show help

  ←[0;1;99m--config←[0m=←[0;4;39mvalue←[0m
      path to the config file to use for CLI flags

  ←[0;1;99m--version←[0m, ←[0;1;99m-v←[0m
      print the version

←[0;1;99mCOMMANDS←[0m
←[0;1;99mhelp, h←[0m display help for the specified command or command group
←[0;1;99mpath←[0m print the configured step path and exit
←[0;1;99mbase64←[0m encodes and decodes using base64 representation
←[0;1;99mcertificate←[0m create, revoke, validate, bundle, and otherwise manage certificates
←[0;1;99mcompletion←[0m print the shell completion script
←[0;1;99mcontext←[0m manage certificate authority contexts
←[0;1;99mcrl←[0m initialize and manage a certificate revocation list
←[0;1;99mcrypto←[0m useful cryptographic plumbing
←[0;1;99moauth←[0m authorization and single sign-on using OAuth & OIDC
←[0;1;99mversion←[0m display the current version of the cli
←[0;1;99mca←[0m initialize and manage a certificate authority
←[0;1;99mbeta←[0m commands that are being tested; these APIs are likely to change
←[0;1;99mssh←[0m create and manage ssh certificates

Additional Context

no

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

Labels

bugneeds triageWaiting for discussion / prioritization by team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions