https://github.com/devrsi0n/dev-command
A modern, flexible command tool for JavaScript developers
https://github.com/devrsi0n/dev-command
cli development-tools tools
Last synced: about 1 year ago
JSON representation
A modern, flexible command tool for JavaScript developers
- Host: GitHub
- URL: https://github.com/devrsi0n/dev-command
- Owner: devrsi0n
- License: mit
- Created: 2018-07-10T12:30:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-19T03:01:32.000Z (over 6 years ago)
- Last Synced: 2025-04-19T16:39:44.847Z (about 1 year ago)
- Topics: cli, development-tools, tools
- Language: TypeScript
- Homepage:
- Size: 1.4 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dev-command
A modern, flexible command tool for JavaScript developers.
[](https://npmjs.org/package/dev-command)
[](https://circleci.com/gh/devrsi0n/dev-command/tree/master)
[](https://github.com/devrsi0n/dev-command/blob/master/package.json)
## Install
```sh
npm i -g dev-command
# or
yarn global add dev-command
```
## Usage
### init
The `init` command will generate flexible config files or scripts and install all npm dependencies silently.
It's so simple to add good linter for your exists project.
```sh
dev init
? Boilerplate type (Use arrow keys)
❯ ESLint
prettier
commitlint
babel
editorconfig
license
gitignore
```
### open
Open git repo or package.json repo URL with default browser in current working directory.
```sh
dev open
```
### git
```sh
dev git log
```
Turn ugly `git log` into pretty graph.
### css-to-js
Convert `src/**/*.css` file to `src/**/*.css.js`
`src`(Directory) is optional, using cwd if not exist
```sh
dev css-to-js src
```