(self, data, join=False)
| 1888 | return self.get_cmd() |
| 1889 | |
| 1890 | def jinjaify(self, data, join=False): |
| 1891 | v = self.get_vars() |
| 1892 | if self.todo_id: |
| 1893 | v.update(state.get_todo_by_id(self.todo_id).get_vars_and_state()) |
| 1894 | if isinstance(data, list): |
| 1895 | if join: |
| 1896 | return expand_jinja(" ".join(data), v) |
| 1897 | else: |
| 1898 | res = [] |
| 1899 | for rf in data: |
| 1900 | res.append(expand_jinja(rf, v)) |
| 1901 | return res |
| 1902 | else: |
| 1903 | return expand_jinja(data, v) |
| 1904 | |
| 1905 | def display_cmd(self): |
| 1906 | lines = [] |
no test coverage detected