# newcmd

> A simple command line creater for NodeJS

Latest version **2.1.5** (published 2019-04-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install newcmd
pnpm add newcmd
yarn add newcmd
bun add newcmd
```

Provides the command `newcmd`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.5 |
| Published | 2019-04-16 |
| First published | 2019-04-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | awyerBx |
| Maintainers | awyerbx |
| Keywords | command-line |

## Links

- npm: https://www.npmjs.com/package/newcmd
- Repository: https://github.com/SawyerBx/newcmd
- Homepage: https://github.com/SawyerBx/newcmd#readme
- Issues: https://github.com/SawyerBx/newcmd/issues
- npm.io page: https://npm.io/package/newcmd

## Recent versions

- 2.1.5 (latest) — 2019-04-16
- 2.1.4 — 2019-04-16
- 2.1.3 — 2019-04-16
- 2.1.2 — 2019-04-16
- 2.1.1 — 2019-04-16
- 2.1.0 — 2019-04-16
- 2.0.3 — 2019-04-16
- 2.0.2 — 2019-04-16
- 2.0.1 — 2019-04-16
- 2.0.0 — 2019-04-16
- 1.4.1 — 2019-04-14
- 1.4.0 — 2019-04-13
- 1.3.1 — 2019-04-13
- 1.3.0 — 2019-04-13
- 1.2.6 — 2019-04-08
- … 14 more at https://npm.io/package/newcmd/versions

## README

# newcmd
> Command Line Maker

## INSTALLATION
**BASH**  
```
npm install newcmd
```

## CREATING COMMANDs
**BASH**  
```
newcmd firstCommand file.js
```
Create your command by using the syntax `newcmd <command name> <file name>.js`  

**BASH**  
```
npm init --yes
```
Note you must init your project.  

**JAVASRIPT / file.js**  
```js
function newcmd(args){ // You must name your command newcmd
  console.log(args); // consoles all args
}
```
In your file you will write a function named newcmd, you can add a parameter to add arguments.  

**LINK YOUR FILE**  
```
npm link
```

## SYNTAX
`newcmd <command name> <command file>.js`: Creates a command.  
`function newcmd(){}`: The function that will be ran for this command.  

## CAN YOU HELP ME?
[If you can help me, please help here.](https://github.com/SawyerBx/newcmd)

---
_Source: https://npm.io/package/newcmd · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
