Socket
Socket
Sign inDemoInstall

htool-cmd

Package Overview
Dependencies
4
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    htool-cmd

Person cmd tool box


Version published
Maintainers
1
Created

Readme

Source

typescript-cli-starter

A simple and zero-opinion typescript starter template for building cross-platform command line applications.

GitHub package.json dynamic

GitHub GitHub package.json version GitHub top language

GitHub last commit

Includes:

  • TypeScript, for writing good code
  • Ava, for writing good tests
  • Commander, for building CLI applications
  • Pkg, for building cross-platform native executables

Your application will be installable from npm or by sharing your native executables.

Usage

dev

npm run dev

Runs the CLI application.

You can pass arguments to your application by running npm run dev -- --your-argument. The extra -- is so that your arguments are passed to your CLI application, and not npm.

clean

npm run clean

Removes any built code and any built executables.

build

npm run build

Cleans, then builds the TypeScript code.

Your built code will be in the ./dist/ directory.

test

npm run test

Cleans, then builds, and tests the built code.

bundle

npm run bundle

Cleans, then builds, then bundles into native executables for Windows, Mac, and Linux.

Your shareable executables will be in the ./exec/ directory.

Keywords

FAQs

Last updated on 30 Jun 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc