Code Monkey home page Code Monkey logo

Comments (6)

jdx avatar jdx commented on May 31, 2024

rm has been available on versions of windows I've been using. I'm not sure when it was added but it seems to come standard now on the modern.ie images at least so I assume it's standard on all current windows releases. What version of windows are you on? I tried to track down when exactly rm was added but wasn't able to figure that out

from oclif.

Junkern avatar Junkern commented on May 31, 2024

Sorry for the late answer! I was using it on a Windows 10 with Powershell. Do you need more specific versions or informations?

from oclif.

jdx avatar jdx commented on May 31, 2024

That would be helpful if you have the versions

from oclif.

AdrianoCahete avatar AdrianoCahete commented on May 31, 2024

PowerShell has rm as alias for Remove-Item, but this alias don't accept another *unix parameters.

Maybe this is the problem.

from oclif.

vadistic avatar vadistic commented on May 31, 2024

Hey, I've just discovered oclif - love it ❤️

To the topic: Quick workaround is to install rimraf and substitute in npm script rm -rf lib to rimraf lib .

In windows cmd shell (that I, and I suposse lot's of ppl is using instead of powershell) the rm -rf alias is rmdir \s or rd \s. Imo it's not that big of an Issue, but it would be good ux to make no-config oclif experience platform-agnostoic.

btw. To run the cli in windows cmd I need to type .\bin\run instead of ./bin/run. Maybe it's worth adding tiny section Windows in the README and consider it closed?

from oclif.

jdx avatar jdx commented on May 31, 2024

I wonder if it's something that I have installed on my machine that makes it work—maybe git for windows or something. I'd accept a pr to use del-cli or rimraf in the generator but only if process.platform === 'win32'. I'd like to keep the configuration as simple as possible on unix.

from oclif.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.