Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

untool

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

untool

untool cli

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-63.33%
Maintainers
2
Weekly downloads
 
Created
Source

untool

npm

untool is our main, global command line interface. It serves two purposes: it can be used to to control untool projects and to bootstrap new ones. It provides a terminal command, un, that exposes its entire functionality.

Installation

untool is meant to be installed globally, not in specific projects. If you want to add a local command line interface to your project to be used in package.json scripts, please use @untool/yargs instead.

$ yarn global add untool # OR npm install --global untool

Utilization

untools's mode of operation inside an existing project is that it will find a locally installed @untool/yargs and execute it. In this case, it will act as a very minimal wrapper around it.

$ un start -s
foo info
server listening at http://localhost:8080

You can also call it without arguments to see a list of available commands. This list will vary depending on the mixins you installed in every individual project.

$ un
Usage: un <command> [options]

Commands:
  un serve    Serve untest
  un start    Build and serve untest
  un build    Build untest
  un develop  Serve untest in watch mode

Options:
  --version   Show version number                                     [boolean]
  --help, -h  Show help                                               [boolean]

If you call un in a folder that does not contain a package.json file, however, it will offer to initialize the current folder as a new project and create one.

$ un
? Initialize foo as new project? Yes
! Initializing project...

If you accept that offer or if you call un in a folder that already contains a package.json file, un will ask you if you want to install the @untool/defaults preset.

$ un
? Install untool default preset? Yes
! Installing (this can take a while)...

\o/ All done!

If you do not accept, un will search NPM for the keywords unmixin and unpreset and offer to install the packages it finds. Please make sure you, at the very least, select @untool/yargs.

$ un
? Install untool default preset? No
! Looking up presets and modules...
? What presets do you want to install? @untool/express, @untool/webpack
? What mixins do you want to install? @untool/react, @untool/yargs
! Installing (this can take a while)...

\o/ All done!

API

untool does not provide an API. @untool/webpack, however, defines untool as an alias for @untool/core for your convenience: if you import 'untool' in your application, what you get are actually @untool/core's exports.

FAQs

Package last updated on 16 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc