finesse.script.adapter.CommandAdapter

Overview

class finesse.script.adapter.CommandAdapter(aliases, setter, getter=None, singular=False, build_last=False)[source]

Bases: finesse.script.adapter.BaseAdapter

Adapter for commands.

Commands set properties of a Model.

Command getters should return a sequence of args and kwargs representing potentially multiple commands to dump.

Methods

CommandAdapter.apply(model, allargs)