Comments (6)
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.
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.
That would be helpful if you have the versions
from oclif.
PowerShell has rm
as alias for Remove-Item, but this alias don't accept another *unix parameters.
Maybe this is the problem.
from oclif.
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.
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)
- Add ability or details to extend/modify README generator HOT 2
- Generated command doesn't pass generated tests HOT 3
- [BUG] promote deb to s3 release channel copy wrong workroundKey HOT 2
- debug using a flag like `--debug`
- Command Injection in lodash.template HOT 4
- Add options to top level command
- Oclif using deprecated transient dependencies and showing npm WARN HOT 1
- Create ux.notify plugin or native command in oclif HOT 6
- `oclif generate` should strip trailing whitespace from package name HOT 1
- Huge shrinkwrap with oclif latest HOT 6
- Signed .node binaries with oclif HOT 2
- Invalid links in README.md HOT 1
- Get Flags interface from the extending Command class HOT 2
- TS4114 error on new generated commands HOT 6
- Add a generator command to add oclif to an existing project HOT 1
- esm example not working HOT 5
- Bug: npx oclif init fails on folder name with space
- No such file error `installer.exe` for Windows pack command HOT 6
- Node v20.12.2 breaks windows CLI HOT 12
- error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 18.0.0". Got "16.15.1" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oclif.