@untool/yargs
Advanced tools
Comparing version 1.0.0-rc.2 to 1.0.0-rc.3
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-rc.3](https://github.com/untool/untool/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2018-10-15) | ||
### Features | ||
* **yargs:** re-enable un command ([b0f86d6](https://github.com/untool/untool/commit/b0f86d6)) | ||
# [1.0.0-rc.2](https://github.com/untool/untool/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2018-10-10) | ||
@@ -8,0 +19,0 @@ |
@@ -44,6 +44,8 @@ #!/usr/bin/env node | ||
module.exports = configure(); | ||
if (require.main === module) { | ||
const { join } = require('path'); | ||
module.exports = configure({ mixins: [join(__dirname, 'mixins', 'log')] }); | ||
module.exports.run(); | ||
} else { | ||
module.exports = configure(); | ||
} |
{ | ||
"name": "@untool/yargs", | ||
"version": "1.0.0-rc.2", | ||
"version": "1.0.0-rc.3", | ||
"description": "untool yargs mixin", | ||
"keywords": [ | ||
"unmixin", | ||
"unpreset" | ||
], | ||
"bin": "./index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\"" | ||
"bin": { | ||
"un": "./index.js" | ||
}, | ||
@@ -27,3 +22,3 @@ "repository": { | ||
"dependencies": { | ||
"@untool/core": "1.0.0-rc.2", | ||
"@untool/core": "1.0.0-rc.3", | ||
"mixinable": "^4.0.0", | ||
@@ -36,3 +31,3 @@ "pretty-ms": "^4.0.0", | ||
}, | ||
"gitHead": "cf714b1ba8b86b30d02155c654042b7b360372ce" | ||
"gitHead": "7d4dd8fdf9ecac56118312504baf9cd363b7abcb" | ||
} |
'use strict'; | ||
const { join } = require('path'); | ||
module.exports = { | ||
mixins: [__dirname], | ||
mixins: [join(__dirname, 'mixins', 'main')], | ||
}; |
@@ -17,2 +17,18 @@ # `@untool/yargs` | ||
`@untool/yargs` provides a basic command line interface you can use to control your application. It is called `un` - and it is best used inside your `package.json` scripts section. | ||
```json | ||
{ | ||
"scripts": { | ||
"start": "un start" | ||
} | ||
} | ||
``` | ||
Alternatively, you can call it directly inside your project using `npx` or `yarn exec`. Call it without any command to see the available commands and options. | ||
```bash | ||
$ yarn exec un start # OR npx un start | ||
``` | ||
## API | ||
@@ -19,0 +35,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
16546
134
1
106
+ Added@untool/core@1.0.0-rc.3(transitive)
- Removed@untool/core@1.0.0-rc.2(transitive)
Updated@untool/core@1.0.0-rc.3