The current lightclient CLI abstracts the complexity of handling the low level protobufs and exposes some useful task to the user. We can make availiable the create-draft command so if the user wants to write something like this:
1. client.py document create-draft --title TITLE
Response:
ynXsc3KKAirRPuGuB3wShz
2. client.py document create-draft --append --id ynXsc3KKAirRPuGuB3wShz “Author's data”
Response
AA5wDop2
3. client.py document create-draft --append AA5wDop2 --id ynXsc3KKAirRPuGuB3wShz --heading “Abstract”
Response
trEI23pS
4. client.py document create-draft --append trEI23pS --id ynXsc3KKAirRPuGuB3wShz --parent trEI23pS “Abstract text”
Response
dt762gG
5. client.py document create-draft --append trEI23pS --id ynXsc3KKAirRPuGuB3wShz --heading “Introduction”
Response
f5DA3J8
6. client.py document create-draft --append f5DA3J8 --id ynXsc3KKAirRPuGuB3wShz --parent f5DA3J8 --heading “Brief1”
Response
Vlu3Pss
7. client.py document create-draft --append f5DA3J8 --id ynXsc3KKAirRPuGuB3wShz --parent Vlu3Pss “Block1”
Response
94TCaf4N
8. client.py document create-draft --append 94TCaf4N --id ynXsc3KKAirRPuGuB3wShz --parent Vlu3Pss “Block2”
Response
bvj3FstA
9. client.py document create-draft --append Vlu3Pss --id ynXsc3KKAirRPuGuB3wShz “Main Text”
Response
bvj3FstA
10. client.py document create-draft --append dfD6Hk41 --id ynXsc3KKAirRPuGuB3wShz --parent dfD6Hk41 --image “/home/user/image.jpg”
Response
78UJgD3f