Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
T
time-slime
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Michael Rouse
time-slime
Commits
b966b676
Commit
b966b676
authored
Aug 20, 2018
by
Michael Rouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More documentation
parent
93a62082
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
README.md
README.md
+27
-2
No files found.
README.md
View file @
b966b676
# **Time Slime**
[

](http://scoobydoo.wikia.com/wiki/Time_Slime)
Time Slime is a
C library
for implementation of a basic time sheet program.
Time Slime is a
[
C library
](
#library-documentation
)
for implementation of a basic time sheet program.
It uses an SQLITE database to store logs, and allows you to clock in/out as well as add a set number of hours.
There is also a
shell interface
for using only the library from the terminal.
There is also a
[
shell interface
](
#terminal-usage
)
for using only the library from the terminal.
...
...
@@ -26,6 +26,11 @@ Pointing to your `sqlite3.h` file.
If your project is NOT using SQLITE, then you need to take
`third_party/sqlite3/sqlite3.h`
and
`third_party/sqlite3/sqlite3.c`
as well,
and change the path to
`sqlite3.h`
in
`timeslime.h`
based on where you place the files.
## Building
To build the command line utility, you can just run:
> make
on Windows or Linux.
# Library Documentation
...
...
@@ -166,3 +171,23 @@ typedef struct TIMESLIME_REPORT_STRUCT TIMESLIME_REPORT_t;
# Terminal Usage
Once build, if you add the executable (in the
`build`
folder) to your system
`PATH`
, you can run it with the following commands:
```
shell
# Add an amount of time to the current date
>
timeslime add
[
hours]
# Add an amount of time to a specific date
>
timeslime add
[
hours]
[
date
]
# Clock in
>
timeslime clock
in
# Clock out
>
timeslime clock out
# Run a report
>
timeslime report
[
start-date]
[
end-date]
```
> **IMPORTANT**: All dates must be formatted as either `YYYY-MM-DD` or `YYYY/MM/DD`
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment