Byword¶
- class apps.Byword¶
Actions for Byword.
- append(location=None, path=None, name=None, text=None) str¶
Append content to an existing file. If the file does not exist a new one is created.
- new(location=None, path=None, name=None, text=None) str¶
Create a new file in Byword.
- open(location=None, path=None, name=None) str¶
Open an existing file. Fails if the file does not exist.
- prepend(location=None, path=None, name=None, text=None) str¶
Prepend content to an existing file. If the file does not exist a new one is created.
- replace(location=None, path=None, name=None, text=None) str¶
Replace the contents of an existing file. If the file doesn’t exist a new one is created.