Skip to content

Commit 6a0e23c

Browse files
committed
expand readme and show usage instructions
Signed-off-by: Daniel Stamer <[email protected]>
1 parent 8dba35e commit 6a0e23c

File tree

3 files changed

+71
-3
lines changed

3 files changed

+71
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# icecli
2-
3-
## Installation
4-
Grab the appropriate archive from the releases section of this repo, extract it, move the included binary somewhere on your $PATH and make it executable.
2+
icecli is a tool to query on-train ICE API endpoints for real-time information about train and journey.
53

64
## Usage
75
In order to use the tool you have to be on a German ICE train and connected to the onboard WiFi SSID `WIFIonICE`.
86

7+
![Usage of the tool](assets/icecli.gif)
8+
99
```bash
1010
# Get help
1111
$ icecli --help
@@ -28,3 +28,5 @@ $ icecli trip -d "Berlin Hbf (tief)" -o csv
2828
# Change output format to CSV and filter for only ETA to your destination override
2929
$ icecli trip -d "Berlin Hbf (tief)" -o csv -f "ARRIVING"
3030
```
31+
## Installation
32+
Grab the appropriate archive from the releases section of this repo, extract it, move the included binary somewhere on your $PATH and make it executable.

assets/icecli.gif

211 KB
Loading

assets/icecli.tape

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# VHS documentation
2+
#
3+
# Output:
4+
# Output <path>.gif Create a GIF output at the given <path>
5+
# Output <path>.mp4 Create an MP4 output at the given <path>
6+
# Output <path>.webm Create a WebM output at the given <path>
7+
#
8+
# Settings:
9+
# Set FontSize <number> Set the font size of the terminal
10+
# Set FontFamily <string> Set the font family of the terminal
11+
# Set Height <number> Set the height of the terminal
12+
# Set Width <number> Set the width of the terminal
13+
# Set LetterSpacing <float> Set the font letter spacing (tracking)
14+
# Set LineHeight <float> Set the font line height
15+
# Set Theme <string> Set the theme of the terminal (JSON)
16+
# Set Padding <number> Set the padding of the terminal
17+
# Set Framerate <number> Set the framerate of the recording
18+
# Set PlaybackSpeed <float> Set the playback speed of the recording
19+
#
20+
# Sleep:
21+
# Sleep <time> Sleep for a set amount of <time> in seconds
22+
#
23+
# Type:
24+
# Type[@<time>] "<characters>" Type <characters> into the terminal with a
25+
# <time> delay between each character
26+
#
27+
# Keys:
28+
# Backspace[@<time>] [number] Press the Backspace key
29+
# Down[@<time>] [number] Press the Down key
30+
# Enter[@<time>] [number] Press the Enter key
31+
# Space[@<time>] [number] Press the Space key
32+
# Tab[@<time>] [number] Press the Tab key
33+
# Left[@<time>] [number] Press the Left Arrow key
34+
# Right[@<time>] [number] Press the Right Arrow key
35+
# Up[@<time>] [number] Press the Up Arrow key
36+
# Down[@<time>] [number] Press the Down Arrow key
37+
# Ctrl+<key> Press the Control key + <key> (e.g. Ctrl+C)
38+
#
39+
# Display:
40+
# Hide Hide the subsequent commands from the output
41+
# Show Show the subsequent commands in the output
42+
43+
Output icecli.gif
44+
45+
Set FontSize 14
46+
Set Width 1200
47+
Set Height 600
48+
49+
Type "icecli" Sleep 500ms Enter
50+
Sleep 5s
51+
52+
Type "clear" Sleep 100ms Enter
53+
Type "icecli status" Sleep 500ms Enter
54+
Sleep 3s
55+
56+
Type "clear" Sleep 100ms Enter
57+
Type "icecli trip" Sleep 500ms Enter
58+
Sleep 3s
59+
60+
Type "clear" Sleep 100ms Enter
61+
Type "icecli trip stops" Sleep 500ms Enter
62+
Sleep 5s
63+
64+
Type "clear" Sleep 100ms Enter
65+
Type "icecli trip stops -d 'Frankfurt(Main)Hbf'" Sleep 500ms Enter
66+
Sleep 5s

0 commit comments

Comments
 (0)