

def list_commands(self, ctx):
    files = [f for f in os.listdir(cmd_folder) if f.endswith('.py')]
    return sorted([self[4:(- 3)] for f in files if f.startswith('cmd_')])

dataset/ETHPy150Open shopkeep/shpkpr/shpkpr/cli/entrypoint.py ShpkprCLI.list_commands/VarMisuse@38/43 `f`->`self`