pull down to refresh

Trying to use my basic programming skills to play with my LN node but stuck on the first steps :( I believe it's pretty simple but cannot figure out, some help would be appreciated