New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

expediente

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expediente

CLI para cálculo de duração do expediente

latest
Source
npmnpm
Version
4.1.1
Version published
Maintainers
1
Created
Source

expediente

Expedient info CLI

Usage

Usage: expediente <HH:mm> [options]

Options:

  -h, --help               output usage information
  -V, --version            output the version number
  -h, --hours <HH:mm>      hours [HH:mm]
  -t, --tolerance <HH:mm>  tolerance [HH:mm]
  -e, --early <HH:mm>      time to be subtracted from the duration
  -c, --config <file>      JSON config file path
  -f, --finish             output finish time only
  -m, --minimum            output minimum time only

Example

$ expediente 10:42
Start     10:42
Remaining 02:26
Minimum   20:15
Finish    20:30
Limit     20:45

$ expediente 10:42 -f
20:30

Arguments

  • HH:mm: Start time

Optional Arguments

  • -h HH:mm: Expedient duration (defaults to 9:48)
  • -t HH:mm: Tolerance time after expedient (defaults to 00:15)
  • -e HH:mm: time to be subtracted from the duration
  • -s: Output simple info
  • -c: JSON config file path
  • -f: Output finish time only
  • -m: Output minimum time only

Config

If the file ~/.expedienteconfig.json exists, expediente will use it's contents as settings for default expedient duration and tolerance time. Any command line argument will override the file config.

Example config file

{
  "hours": "9:00",     // Expedient duration
  "tolerance": "0:10", // Tolerance time
  "minimum": true      // Always output minimum time only
}

License

MIT

FAQs

Package last updated on 06 Aug 2015

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