Add simple installation script
This commit is contained in:
parent
36b5d7a6d7
commit
a980216fb5
@ -4,6 +4,12 @@ Simple plain-text time tracking.
|
|||||||
|
|
||||||
The Python script `tx` provides short-hands for accessing and reading a `time.txt` file, as described below.
|
The Python script `tx` provides short-hands for accessing and reading a `time.txt` file, as described below.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
For testing, you can just run `tx` in this directory using `./tx`.
|
||||||
|
|
||||||
|
If you want to be able to use it anywhere, run `install.sh`. The `tx` command should then be available in any folder.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Create a new `time.txt` file at the current location: `tx create`
|
Create a new `time.txt` file at the current location: `tx create`
|
||||||
|
1
install.sh
Executable file
1
install.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
sudo ln -s $(pwd)/tx /usr/local/bin/tx
|
Loading…
x
Reference in New Issue
Block a user