@libit/sn-cli
TypeScript icon, indicating that this package has built-in type declarations

0.2.10 • Public • Published

@libit/sn-cli

The sn command line tool

Installation

npm i @libit/sn-cli -g

Usage

@libit/sn-cli provide lsn command and serum as alternative command

  lsn x.x.x — Retrieve the serial number of the local machine

  USAGE
    ▸ sernum  [OPTIONS...]

  OPTIONS

    -c, --cwd <cwd>                      The custom current working directory
    -f, --file <file>                    The custom cache file name
    -d, --hash                           Retrieve the hashed serial number
    -p, --prefix <prefix>                A string to be prefixed ahead of the shell command to
                                         be run
    -s, --size <size>                    Slice the serial number to specified size
    -u, --uuid                           Prefer to retrieve uuid on the first attempt

  GLOBAL OPTIONS

    -h, --help                           Display global help or command-related help.
    -V, --version                        Display version.
    --no-color                           Disable use of colors in output.
    -v, --verbose                        Verbose mode: will also output debug messages.
    --quiet                              Quiet mode - only displays warn and error messages.
    --silent                             Silent mode: does not output anything, giving no
                                         indication of success or failure other than the exit
                                         code.

Example

> lsn
Q09XL3KBMGH0
> sernum
Q09XL3KBMGH0

Package Sidebar

Install

npm i @libit/sn-cli

Weekly Downloads

0

Version

0.2.10

License

MIT

Unpacked Size

11.1 kB

Total Files

19

Last publish

Collaborators

  • towyuan