0.0.7 ā€¢ Published 9 months ago

projektron-bcs-cli v0.0.7

Weekly downloads
-
License
Apache 2.0
Repository
-
Last release
9 months ago

projektron-bcs-cli

Command line interface (cli) to handle time recordings in Projektron BCS from your terminal - saving time, money and nerves.

Design goals

  1. Providing an intuitive CLI for BCS
  2. Reduce the manual steps for time recording as much as possible

Usage

Requirements

  • node >= v16.16.0

Getting Started

Simply run the following and follow the instructions:

npm install -g projektron-bcs-cli
bcs

Adding your time recordings to BCS never has been easier šŸš€

Commands

Currently, the following commands are supported:

CommandDescription
addAdd your time recordings for a specific day (overwrites your previous recordings!).
getShow your time recordings for a specific day.
resetReset your time recordings for a specific date.
checkShow your monthly time balance.
mappingCustomize the task to projectId mapping for your needs!
quitQuit the cli.

Additional Notes

šŸ“¢ You may want to use the mapping command to customize the task to projectId mapping for your needs and let the cli do the magic for you.

Hints:

  • use tab to keep and edit initial values
  • use ctrl+c to escape from the current prompt and return to beginning

Miscellaneous

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!

Installation from source

Clone this repository and execute the following steps:

cd bcs-cli
npm run build
npm install --location=global .

šŸ’» Development

You may want to create a .env file in the project ,directory with the evironment variables BCS_URL, BCS_USERNAME and BCS_PASSWORD.

To run the application without installing it globally:

cd bcs-cli
npm install

# hot reloading
npm run start:dev

# build and run
npm run build
npm run start

# test
 npm run test
 
 # install global
 npm run build
 npm install -g projektron-bcs-cli .

Show your support

Give a ā­ļø if this project helped you!

šŸ“ License

Copyright Ā© 2023 pgebert.
This project is licensed under Apache 2.0.

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago