feedwarrior

Slim, portable tooling for creating and distributing decentralized append logs
git clone git://git.defalsify.org/logwarrior.git
Log | Files | Refs | README | LICENSE

ls.py (369B)


      1 # standard imports
      2 import os
      3 
      4 def parse_args(argparser):
      5     pass
      6 
      7 
      8 def check_args(args):
      9     pass
     10 
     11 
     12 def execute(config, feed, args):
     13     feeds_names_dir = os.path.join(config.feeds_dir, 'names')
     14     for f in os.listdir(feeds_names_dir):
     15         n = os.path.join(feeds_names_dir, f)
     16         r = os.path.realpath(n)
     17         print('{} {}'.format(os.path.basename(r), f))