1.2.1 • Published 4 years ago

@ffflorian/which-os v1.2.1

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
4 years ago

which-os Build Status npm version Dependabot Status

Get informations about your OS

Installation

Run yarn global add @ffflorian/which-os or npm install -g @ffflorian/which-os.

Usage

Usage: which-os [options]

Get informations about your OS

Options:
  --is-linux     Is the operating system Linux?
  --is-macos     Is the operating system macOS?
  --is-windows   Is the operating system Windows?
  --is-x64       Is the processor architecture x64?
  --is-ia32      Is the processor architecture ia32?
  --is-arm       Is the processor architecture ARM?
  -i, --os-info  Output all OS informations
  -V, --verbose  Enable verbose output
  -v, --version  output the version number
  -h, --help     output usage information

TypeScript Usage

See ./src/cli.ts