habitipy.cli

habitipy - tools and library for Habitica restful API command-line interface library using plumbum

is_uuid

is_uuid(u)

validator for plumbum prompt

load_conf

load_conf(configfile, config=None)

Get authentication data from the AUTH_CONF file.

ConfiguredApplication

ConfiguredApplication(self, executable)

Application with config

get_content

get_content(api, rebuild_cache=False)

get content from server or cache

ApplicationWithApi

ApplicationWithApi(self, executable)

Application with configured Habitica API

HabiticaCli

HabiticaCli(self, executable)

Status

Status(self, executable)

ScoreInfo

ScoreInfo(self, /, *args, **kwargs)

task value/score info: http://habitica.wikia.com/wiki/Task_Value

TasksPrint

TasksPrint(self, executable)

Put all tasks from domain to print

Habits

Habits(self, executable)

Dailys

Dailys(self, executable)

ToDos

ToDos(self, executable)

get_additional_rewards

get_additional_rewards(api)

returns list of non-user rewards (potion, armoire, gear)

Rewards

Rewards(self, executable)

TaskId

TaskId(self, /, *args, **kwargs)

handle task-id formats such as: habitica todos done 3 taskalias_or_uuid habitica todos done 1,2,3,taskalias_or_uuid habitica todos done 2 3 habitica todos done 1-3,4 8

TaskId

TaskId(self, /, *args, **kwargs)

handle task-id formats such as: habitica todos done 3 taskalias_or_uuid habitica todos done 1,2,3,taskalias_or_uuid habitica todos done 2 3 habitica todos done 1-3,4 8

TasksChange

TasksChange(self, executable)

find all tasks specified by user and do self.op on them

HabitsChange

HabitsChange(self, executable)

HabitsAdd

HabitsAdd(self, executable)

HabitsDelete

HabitsDelete(self, executable)

HabitsUp

HabitsUp(self, executable)

HabitsDown

HabitsDown(self, executable)

DailysChange

DailysChange(self, executable)

DailysUp

DailysUp(self, executable)

DailyDown

DailyDown(self, executable)

TodosChange

TodosChange(self, executable)

TodosUp

TodosUp(self, executable)

TodosDelete

TodosDelete(self, executable)

TodosAdd

TodosAdd(self, executable)

RewardsBuy

RewardsBuy(self, executable)

RewardsAdd

RewardsAdd(self, executable)

Home

Home(self, executable)

Server

Server(self, executable)

Spells

Spells(self, executable)