Skip to content

Add ability to create content via new-entry via text entry #17

@brass75

Description

@brass75

Currently we can add pre-existing content via new-entry or create an empty post and, if so desired, open an editor. A nice feature would be the ability to accept content as text when running new-entry. We can use something like:

print("Please enter the content. When done type <EOF> on a blank line.")
lines = list()
while True:
    if (line := input("").strip()) != "<EOF>":
        lines.append(line)
        continue
    break

to enable entering text until an end marker is sent.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions