unsilence.command_line.ParseArguments

Module Contents

Functions

convert_to_path([should_exist, should_parents_exist])

Sets options for the nested class

number_bigger_than_zero(s)

Returns the Number representation of s if it is bigger than zero, else an error occurs

parse_arguments()

Parses console arguments for the Unsilence Console Interface

unsilence.command_line.ParseArguments.convert_to_path(should_exist=True, should_parents_exist=True)

Sets options for the nested class :param should_exist: If the file needs to exists :param should_parents_exist: If the files parents need to exist :return: Nested Handle Function

unsilence.command_line.ParseArguments.number_bigger_than_zero(s)

Returns the Number representation of s if it is bigger than zero, else an error occurs :param s: Input string :return: Integer or None

unsilence.command_line.ParseArguments.parse_arguments()

Parses console arguments for the Unsilence Console Interface :return: List of Console Line Arguments