jentry.entry.cli.format¶
EntryFormat¶
-
enum
jentry.entry.cli.format.
EntryFormat
(value)[source]¶ An enumeration.
- Member Type
int
Valid values are as follows:
-
TABLE
= <EntryFormat.TABLE: 1>¶ Print in table format.
-
JSON
= <EntryFormat.JSON: 2>¶ Print in pretty JSON format.
-
ENTRY
= <EntryFormat.ENTRY: 3>¶ Print in simple java entry format.
The
Enum
and its members also have the following methods:-
print_first_entry
(entry: jentry.model.entry.JavaEntry)[source]¶ Print the first given java entry object.
- Parameters
entry – Given java entry object.
- Raises
ValueError – Raise
ValueError
when self is invalid.
-
print_entries
(entries: List[jentry.model.entry.JavaEntry])[source]¶ Print the given java entry objects.
- Parameters
entries – Given java entries.
- Raises
ValueError – Raise
ValueError
when self is invalid.