2.5.0 • Published 3 years ago

spatium-cli v2.5.0

Weekly downloads
44
License
MIT
Repository
gitlab
Last release
3 years ago

Spatium CLI

This is a reeaaally simple cli for managing timesheets in flat json files, preferably in a git repo (this will become a requirement at some point).

Using this cli in a git repo will give you a sort of ledger, which is really nice.

Installation

It is recommended to create a new Git repo, where you will store the timesheets.

So remember to npm init and then just npm i --save spatium-cli.

We recommend adding a npm script:

{
  "sp": "spatium-cli"
}

Usage

The idea is that you follow a usual development flow. So git pull, do your changes, git commit and git git push.

The cli is done interactively, so it's a breeze to use.

You should start by running npm run sp -- help to get familiar with the cli.

Customers

add:customer There's no arguments for this one.

edit:customer There's no arguments for this one.

delete:customer There's no arguments for this one.

Timesheets

add:timesheet There's no arguments for this one.

edit:timesheet There's no arguments for this one.

delete:timesheet There's no arguments for this one.

Export

--format, -f The output format

--directory, -d Output directory

--customer, -c Customer id

--from From date (iso)

--to To date (iso)

--all Export all customers in all formats

--dropbox Upload to dropbox - remember to login

Reports

report:monthly Gives a nice cli table view of the current month.

Integrations

integrate:dropbox login Start the dropbox login flow.

2.5.0

3 years ago

2.4.0

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.1.0

3 years ago

2.0.6

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.15

5 years ago

0.2.14

5 years ago

0.2.13

5 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago