https://github.com/igr/vertecor
Save your Vertec time!
https://github.com/igr/vertecor
application java javafx
Last synced: 3 months ago
JSON representation
Save your Vertec time!
- Host: GitHub
- URL: https://github.com/igr/vertecor
- Owner: igr
- License: bsd-2-clause
- Created: 2018-06-13T12:09:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-28T20:08:39.000Z (almost 7 years ago)
- Last Synced: 2025-03-25T00:35:05.682Z (3 months ago)
- Topics: application, java, javafx
- Language: Java
- Size: 169 KB
- Stars: 9
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VERTECOR v2.0.2
> Who likes faster Vertec?
## Usage
Download the `jar` from the [releases](https://github.com/igr/vertecor/releases) and run it. You can use it in the CLI or with the GUI.
### GUI mode
If you don't like command line then just run the GUI:
```bash
java -jar vertecor.jar --ui
```It's just GUI. It's self-explanatory.

### CLI mode
This is the default mode, when no argument is provided:
```bash
java -jar vertecor.jar
```The **Vertecor** is user friendly: if you don't specify arguments in the command line, it will ask for it. So, you don't have to pass anything; just run the program. However, you may speed up and automate the process by passing few or all required arguments.
**Vertecor** will now aks for all the data. Something like this:

## Program arguments
You can optionally pass one or more arguments from CLI:
Options are:
+ `--ui` - runs the UI.
+ `--nocache` - ignores local cache. _No cache_ will be created or consumed, everything will be (slowly) fetched from the server.
+ `--clearcache` - clears the cache _before_ the execution. New cache will be created.
+ `-d | --date ` - the date in ISO format (`yyyy-MM-dd`).
+ `-m | --message ` - specifies the description
+ `-h | --hours ` - the decimal amount of spent hoursThere are 3 parameters:
```
[ []]
```Parameters are:
+ `project-phase-type` - comma-separated IDs for the project, phase and/or service type (notice the `TIP` on above screenshot!)
+ `hours` - decimal value for spent hours
+ `message` - descriptionYou may specify _anything_ you want, everything is optional. The **Vertecor** will ask for anything not provided.
## Usage Examples
Run the gui:
```bash
java -jar vertecor.jar --ui
```Run the gui without any cache:
```bash
java -jar vertecor.jar --ui --nocache
```Use the CLI and specify date and hours; ask for project information and a message:
```bash
java -jar vertecor.jar -d 2018-06-15 -h 2.5
```Use the CLI and set everything in command line, don't ask for anything more:
```bash
java -jar vertecor.jar 111,222,333 2.5 "Awesome work"
```Use the CLI and clears the cache, pass the hours and description, ask for the project:
```bash
java -jar vertecor.jar -h 1.5 -m "Good job" --clearcache
```You get the point :)
## Some things to be aware of
+ Project related entries are **cached**. They are fetched very first time and cached locally. This improves the speed. To invalidate the cache, just pass the `--clearcache` option.
+ Cache can be ignored by passing `--nocache` option.
+ Username & password in stored in the cache folder, too, in plaintext. Yeah.
+ Cache folder is located at `~/.vertec`.
+ Works on Java8.
+ You need UTF8 font in console.## Development notes
It's easy to build:
```bash
./gradlew clean jar
```Disclaimer: I made this project to learn German. Please do not use it to enter Vertec times.
## License
BSD-2