todoist-prioritizer  v1.2.0
Automatically prioritize tasks in Todoist
Loading...
Searching...
No Matches
CommandLineParser Class Reference

Public Member Functions

def __init__ (self)
 
def __setup_args__ (self)
 
def parse_args (self, bool input=False)
 
def user_input (self)
 

Public Attributes

 args
 
 parser
 

Detailed Description

Command line user interface for the todoist-prioritizer

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
Initializes a CommandLineParser object

Member Function Documentation

◆ __setup_args__()

def __setup_args__ (   self)
Sets up the command line arguments for the parser

◆ parse_args()

def parse_args (   self,
bool   input = False 
)
Parses the command line arguments and stores them in self.args

@param input: If True use user inputted args, else use command line args

◆ user_input()

def user_input (   self)
Prompts the user for input if no command line arguments are provided

Member Data Documentation

◆ args

args

◆ parser

parser

The documentation for this class was generated from the following file: