-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from sKawashima/CorrespondToMultipleArguments
fixed #3
- Loading branch information
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
# meu | ||
|
||
めう、めうめうめう! | ||
<font size="6">インストールはnpmで頼むめう!!!</font> | ||
**インストールはnpmで頼むめう!!!** | ||
|
||
`yarn global`だとpackage.jsonの中身呼んでくれないめう! | ||
こんな無能だとは知らなかっためう! | ||
**直打ちでCLI実行するときはcli.jsを頼むめう!!!** | ||
|
||
## Usage | ||
```shell | ||
$ meu めう、めうめう | ||
めう、めうめうめう! | ||
|
||
$ meu つらい | ||
つらいめう! | ||
|
||
$ meu お金ほしい 時間ほしい とてもつらい | ||
お金ほしいめう! | ||
時間ほしいめう! | ||
とてもつらいめう! | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/usr/bin/env node | ||
const meu = require('./index.js') | ||
console.log(meu(process.argv[process.argv.length - 1])) | ||
for(let i = 1;i < process.argv.length;i++){ | ||
console.log(meu(process.argv[i])) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters