[][src]Module gooseberry::utils

Utility functions

Constants

SEMICOLON

ASCII code of semicolon TODO: Tag cannot have semicolon in it, remember to add this to the README

Functions

external_editor_input

Gets input from external editor, optionally displays default text in editor

get_quotes
get_spinner
join_ids

List of String into semicolon-joined byte array

parse_datetime

Makes DateTime from a string, can be colloquial like "last Friday 8pm"

split_ids

Splits byte array by semicolon into list of Annotation IDs

uri_to_filename

Converts a URI into something that can be used as a folder/filename

user_input

Takes user input from terminal, optionally has a default and optionally displays it.