npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

timesheeter-cli

v0.2.2

Published

CLI client for TimeSheetER

Downloads

6

Readme

TimesheetERP

TimesheetERP is an open source ERP created primarily for developers. Besides being made for a need, it is a project made mostly for fun. But feel free to use it.
The primary goal was to be able to use this ERP via the CLI to not lose productivity by switching tool too often.

At the moment it includes the possibility to create timers to identify what time is spent on each task and to assign times to different projects.

Technology

This repository is the CLI client part of the application and was written with Typescript ❤ using the oclif framework and run on NodeJS. It uses the JS client library.

Server

Running the server is needed to use this CLI as nothing is stored locally.

Usage

This is a hobby projet and not a production ready solution, there are certainly bugs. Do not hesitate to open issues if you encounter some.

$ npm install -g timesheeter-cli
$ tser COMMAND
running command...
$ tser (-v|--version|version)
timesheeter-cli/0.2.2 linux-x64 node-v16.14.2
$ tser --help [COMMAND]
USAGE
  $ tser COMMAND
...

Commands

tser autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ tser autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ tser autocomplete
  $ tser autocomplete bash
  $ tser autocomplete zsh
  $ tser autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

tser clocks:create

create a clock

USAGE
  $ tser clocks:create

OPTIONS
  -n, --name=name  name of the clock
  -s, --start      Start the clock after creation
  --stop-all       Stop all other clocks

ALIASES
  $ tser clock:create
  $ tser clk:create

See code: src/commands/clocks/create.ts

tser clocks:delete

delete a clock

USAGE
  $ tser clocks:delete

OPTIONS
  --force
  --id=id  Id of the clock

ALIASES
  $ tser clock:delete
  $ tser clk:delete

See code: src/commands/clocks/delete.ts

tser clocks:edit

edit a clock

USAGE
  $ tser clocks:edit

OPTIONS
  --id=id  Id of the clock

ALIASES
  $ tser clock:edit
  $ tser clk:edit

See code: src/commands/clocks/edit.ts

tser clocks:list

list clocks

USAGE
  $ tser clocks:list

OPTIONS
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

ALIASES
  $ tser clock:list
  $ tser clk:list

See code: src/commands/clocks/list.ts

tser clocks:reset

reset a clock

USAGE
  $ tser clocks:reset

OPTIONS
  -s, --start  Start the clock after reset
  --all        Reset all clocks
  --id=id      Id of the clock

ALIASES
  $ tser clock:reset
  $ tser clk:reset

See code: src/commands/clocks/reset.ts

tser clocks:start

start a clock

USAGE
  $ tser clocks:start

OPTIONS
  --id=id     Id of the clock
  --stop-all  Stop all other clocks

ALIASES
  $ tser clock:start
  $ tser clk:start

See code: src/commands/clocks/start.ts

tser clocks:stop

stop a clock

USAGE
  $ tser clocks:stop

OPTIONS
  --all    Stop all clocks
  --id=id  Id of the clock

ALIASES
  $ tser clock:stop
  $ tser clk:stop

See code: src/commands/clocks/stop.ts

tser config

Configure the client

USAGE
  $ tser config

See code: src/commands/config.ts

tser help [COMMAND]

display help for tser

USAGE
  $ tser help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

tser login

Login to TimeSheetER

USAGE
  $ tser login

OPTIONS
  -a, --account=account

See code: src/commands/login.ts

tser projects:create

create a project

USAGE
  $ tser projects:create

OPTIONS
  -h, --hourRate=hourRate  hour rate the project
  -n, --name=name          name of the project

ALIASES
  $ tser project:create
  $ tser prj:create

See code: src/commands/projects/create.ts

tser projects:delete

delete a project

USAGE
  $ tser projects:delete

OPTIONS
  --force
  --id=id  Id of the project

ALIASES
  $ tser project:delete
  $ tser prj:delete

See code: src/commands/projects/delete.ts

tser projects:edit

edit a project

USAGE
  $ tser projects:edit

OPTIONS
  --id=id  Id of the project

ALIASES
  $ tser project:edit
  $ tser prj:edit

See code: src/commands/projects/edit.ts

tser projects:list

list projects

USAGE
  $ tser projects:list

OPTIONS
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

ALIASES
  $ tser project:list
  $ tser prj:list

See code: src/commands/projects/list.ts

tser times:create

add a time to a project

USAGE
  $ tser times:create

OPTIONS
  -p, --project-id=project-id  Id of the project
  --date=date                  time's date
  --description=description    time's description
  --duration=duration          time's duration in decimal
  --today                      add time for today

ALIASES
  $ tser time:create

See code: src/commands/times/create.ts

tser times:delete

edit a time

USAGE
  $ tser times:delete

OPTIONS
  -p, --project-id=project-id  Id of the project
  -t, --time-id=time-id        Id of the time
  --force

ALIASES
  $ tser time:delete

See code: src/commands/times/delete.ts

tser times:edit

edit a time

USAGE
  $ tser times:edit

OPTIONS
  -p, --project-id=project-id  Id of the project
  -t, --time-id=time-id        Id of the time

ALIASES
  $ tser time:edit

See code: src/commands/times/edit.ts

tser times:list

get times for a project

USAGE
  $ tser times:list

OPTIONS
  -e, --end=end                End date of the query
  -p, --project-id=project-id  Id of the project
  -s, --start=start            Start date of the query
  -x, --extended               show extra columns
  --columns=columns            only show provided columns (comma-separated)
  --csv                        output is csv format [alias: --output=csv]
  --filter=filter              filter property by partial string matching, ex: name=foo
  --no-header                  hide table header from output
  --no-truncate                do not truncate output to fit screen
  --output=csv|json|yaml       output in a more machine friendly format
  --sort=sort                  property to sort by (prepend '-' for descending)

ALIASES
  $ tser time:list

See code: src/commands/times/list.ts