menu
Channels
Team
Posts
Members
Info

getting a strict mode error when using plain javascript

thumbsup
0
message-simple
1

Is there way to add padding to output?

thumbsup
0
message-simple
0

How to add styles to the table?

thumbsup
0
message-simple
2

Anyone know how to unit test `cli.prompt()` ?

thumbsup
0
message-simple
2

Some issues about files not getting added to bin?

I created this CLI https://unpkg.com/browse/[email protected]/ which takes a simple folder name from our examples repo and downloads that. Example npx create-gcms-app with-nextjs - it works for me, but everyone else is reporting a range of errors that seem to indicate that…

thumbsup
0
message-simple
1

Customizing Help in oclif

We're happy to announce a new addition to oclif - you can now customize your CLI's help output. Check it out and let us know if you have any feedback. https://oclif.io/blog/2020/05/05/introducing-custom-help-classes

thumbsup
1
message-simple
0

Is oclif dead?

Is this project dead, Salesforce are no longer maintaining it, so wondering if any point in creating PRs?

thumbsup
1
message-simple
13

New to oclif & TypeScript ... Can flags inherit custom type definitions?

TLDR; I'm trying to use a custom type with an oclif string flag. I attempted to use the flags.build method but had a similar error. I'm also new to TS so I'm not sure if there's a better way to use TypeScript to get that effect. Given the following example: …

thumbsup
0
message-simple
0

Multiple commands in one file?

I am trying to create an OpenAPI 3 schema to oclif generator where you can give an OpenAPI 3 schema file and it will spit out a fully-functioning oclif CLI to interact with the described API. I already have a standalone proof of concept working written in TypeScript, but I'm…

thumbsup
0
message-simple
1

[solved] pipe to cli app

Hi all. I just began to use oclif and I am wondering if there is support for streaming data. In CLI apps I have used process.stdin.on('data', ...) to collect data that is piped to the app. But I can not find any documentation on this in oclif.

thumbsup
0
message-simple
1